var n3 = false;

image0       = new Image();
// Place your first image within the
// quotation marks on the line below.
image0.src   = "img/con01-0.png";
image0on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image0on.src = "img/con01-02.png"

image1       = new Image();
// Place your first image within the
// quotation marks on the line below.
image1.src   = "img/con01-1.png";
image1on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image1on.src = "img/con01-12.png"

image2       = new Image();
// Place your first image within the
// quotation marks on the line below.
image2.src   = "img/con01-2.png";
image2on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image2on.src = "img/con01-22.png"

image3       = new Image();
// Place your first image within the
// quotation marks on the line below.
image3.src   = "img/con01-3.png";
image3on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image3on.src = "img/con01-32.png"

image4       = new Image();
// Place your first image within the
// quotation marks on the line below.
image4.src   = "img/con01-4.png";
image4on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image4on.src = "img/con01-42.png"

image5       = new Image();
// Place your first image within the
// quotation marks on the line below.
image5.src   = "img/con01-5.png";
image5on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image5on.src = "img/con01-52.png"

image6       = new Image();
// Place your first image within the
// quotation marks on the line below.
image6.src   = "img/con02-0.png";
image6on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image6on.src = "img/con02-02.png"

image7       = new Image();
// Place your first image within the
// quotation marks on the line below.
image7.src   = "img/con03-1.png";
image7on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image7on.src = "img/con03-12.png"

image8       = new Image();
// Place your first image within the
// quotation marks on the line below.
image8.src   = "img/con03-2.png";
image8on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image8on.src = "img/con03-22.png"

image9       = new Image();
// Place your first image within the
// quotation marks on the line below.
image9.src   = "img/con03-3.png";
image9on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image9on.src = "img/con03-32.png"

image10       = new Image();
// Place your first image within the
// quotation marks on the line below.
image10.src   = "img/con03-4.png";
image10on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image10on.src = "img/con03-42.png"

image11       = new Image();
// Place your first image within the
// quotation marks on the line below.
image11.src   = "img/con03-0.png";
image11on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image11on.src = "img/con03-02.png"

image12       = new Image();
// Place your first image within the
// quotation marks on the line below.
image12.src   = "img/con04-0.png";
image12on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image12on.src = "img/con04-02.png"

image13       = new Image();
// Place your first image within the
// quotation marks on the line below.
image13.src   = "img/con05-0.png";
image13on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image13on.src = "img/con05-02.png"

image14       = new Image();
// Place your first image within the
// quotation marks on the line below.
image14.src   = "img/con06-0.png";
image14on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image14on.src = "img/con06-02.png"

image15       = new Image();
// Place your first image within the
// quotation marks on the line below.
image15.src   = "img/con01-6.png";
image15on     = new Image();
// Place your second image within the
// quotation marks on the line below.
image15on.src = "img/con01-62.png"


function on3(name)
{
    document[name].src = eval(name + "on.src");
}

function off3(name)
{
    document[name].src = eval(name + ".src");
}

n3 = true;
function on(name)
{
   if (n3)
      on3(name);
}

function off(name)
{
   if (n3)
      off3(name);
}



///////////////////////////////////////////

var dynimages=new Array()
dynimages[0]=["img/cl/life_gaikan1_4c.jpg", "#"]
dynimages[1]=["img/cl/life_jissyuu1_4c.jpg", "#"]
dynimages[2]=["img/cl/life_jissyuu2_4c.jpg", "#"]
dynimages[3]=["img/cl/life_jissyuu3_4c.jpg", "#"]
dynimages[4]=["img/cl/life_kogi_4c.jpg", "#"]
dynimages[5]=["img/cl/life_kogi2_4c.jpg", "#"]
dynimages[6]=["img/cl/life_kogi3_4c.jpg", "#"]
dynimages[7]=["img/cl/life_ryoko_4c.jpg", "#"]
dynimages[8]=["img/cl/life_shiki_4c.jpg", "#"]
dynimages[9]=["img/cl/life_syugo1_4c.jpg", "#"]
dynimages[10]=["img/cl/life_syugo2_4c.jpg", "#"]
dynimages[11]=["img/cl/life_syugo3_4c.jpg", "#"]
dynimages[12]=["img/cl/life_syugo4_4c.jpg", "#"]
dynimages[13]=["img/cl/life_temoto_4c.jpg", "#"]

//　ﾌﾟﾘﾛｰﾄﾞ　　Preload images ("yes" or "no"):
var preloadimg="no"

//　新しいWinで開く　　Set optional link target to be added to all images with a link:
var optlinktarget="_self"

//　画像の枠線　Set image border width
var imgborderwidth=0

//　ｸﾞﾗﾃﾞｰｼｮﾝ　　持続時間　　Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+:
var filterstring="progid:DXImageTransform.Microsoft.Fade(duration=1.0,overlap=1.0)"

///////No need to edit beyond here/////

if (preloadimg=="yes"){
for (x=0; x<dynimages.length; x++){
var myimage=new Image()
myimage.src=dynimages[x][0]
}
}

function returnimgcode(theimg){
var imghtml=""
if (theimg[1]!="")
imghtml='<a href="'+theimg[1]+'" target="'+optlinktarget+'">'
imghtml+='<img src="'+theimg[0]+'" border="'+imgborderwidth+'">'
if (theimg[1]!="")
imghtml+='</a>'
return imghtml
}

function modifyimage(loadarea, imgindex){
if (document.getElementById){
var imgobj=document.getElementById(loadarea)
if (imgobj.filters && window.createPopup){
imgobj.style.filter=filterstring
imgobj.filters[0].Apply()
}
imgobj.innerHTML=returnimgcode(dynimages[imgindex])
if (imgobj.filters && window.createPopup)
imgobj.filters[0].Play()
return false
}
}


