var dynimages=new Array()

dynimages[0]=["images/ph1L.jpg", ""]

dynimages[1]=["images/ph2L.jpg", ""]

dynimages[2]=["images/ph3L.jpg", ""]

dynimages[3]=["images/ph4L.jpg", ""] 

dynimages[4]=["images/ph5L.jpg", ""] 

dynimages[5]=["images/ph6L.jpg", ""] 

dynimages[6]=["images/ph7L.jpg", ""] 

dynimages[7]=["images/ph8L.jpg", ""] 

dynimages[8]=["images/ph9L.jpg", ""] 

dynimages[9]=["images/ph10L.jpg", ""] 

dynimages[10]=["images/ph11L.jpg", ""] 

dynimages[11]=["images/ph12L.jpg", ""] 

//　ﾌﾟﾘﾛｰﾄﾞ　　Preload images ("yes" or "no"):

var preloadimg="yes"

//　新しいWinで開く　　Set optional link target to be added to all images with a link:

var optlinktarget="_blank"

//　画像の枠線　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
}
}


function SbWinOpen101(){
sbwin101=window.open("prof01_sam01.html","p101","width=600,height=600");
}
function SbWinOpen103(){
sbwin103=window.open("prof01_sam03.html","p103","width=600,height=600");
}
function SbWinOpen104(){
sbwin104=window.open("prof01_sam04.html","p104","width=600,height=600");
}
function SbWinOpen106(){
sbwin106=window.open("prof01_sam06.html","p106","width=600,height=600");
}

function SbWinOpen201(){
sbwin201=window.open("prof02_sam01.html","p201","width=600,height=600");
}
function SbWinOpen203(){
sbwin203=window.open("prof02_sam03.html","p203","width=600,height=600");
}
function SbWinOpen204(){
sbwin204=window.open("prof02_sam04.html","p204","width=600,height=600");
}
function SbWinOpen205(){
sbwin205=window.open("prof02_sam05.html","p205","width=600,height=600");
}


function SbWinOpen301(){
sbwin301=window.open("prof03_sam01.html","p301","width=600,height=600");
}
function SbWinOpen303(){
sbwin303=window.open("prof03_sam03.html","p303","width=600,height=600");
}
function SbWinOpen304(){
sbwin304=window.open("prof03_sam04.html","p304","width=600,height=600");
}
function SbWinOpen305(){
sbwin305=window.open("prof03_sam05.html","p305","width=600,height=600");
}

function SbWinOpen401(){
sbwin401=window.open("prof04_sam01.html","p401","width=600,height=600");
}
function SbWinOpen402(){
sbwin402=window.open("prof04_sam02.html","p402","width=600,height=600");
}
function SbWinOpen403(){
sbwin403=window.open("prof04_sam03.html","p403","width=600,height=600");
}
function SbWinOpen404(){
sbwin404=window.open("prof04_sam04.html","p404","width=600,height=600");
}

