


var strFilename;
var strHref = self.location.href;
strHref = strHref.replace(/\//g,"\\");
var iIdx = strHref.lastIndexOf("\\");
if (-1<iIdx) {
strFilename = strHref.substring(iIdx+1);
} else {
strFilename = strHref;
}







function highlight() { //v3.0
preload_image_object.src = (ordnername + "/" + img[imgNumber + 1] + ".jpg");

if (strFilename == file01) { mouse_over_title01(); }
else { }
if (strFilename == file02) { mouse_over_title02(); }
else { } 
if (strFilename == file03) { mouse_over_title03(); }
else { } 
if (strFilename == file04) { mouse_over_title04(); }
else { } 
if (strFilename == file05) { mouse_over_title05(); }
else { } 
if (strFilename == file06) { mouse_over_title06(); }
else { } 
if (strFilename == file07) { mouse_over_title07(); }
else { } 
if (strFilename == file08) { mouse_over_title08(); }
else { } 
if (strFilename == file09) { mouse_over_title09(); }
else { } 
if (strFilename == file10) { mouse_over_title10(); }
else { } 
if (strFilename == file11) { mouse_over_title11(); }
else { } 
if (strFilename == file12) { mouse_over_title12(); }
else { } 
if (strFilename == file13) { mouse_over_title13(); }
else { } 
if (strFilename == file14) { mouse_over_title14(); }
else { } 
if (strFilename == file15) { mouse_over_title15(); }
else { } 
if (strFilename == file16) { mouse_over_title16(); }
else { }
if (strFilename == file17) { mouse_over_title17(); }
else { } 
if (strFilename == file18) { mouse_over_title18(); }
else { } 
if (strFilename == file19) { mouse_over_title19(); }
else { } 
if (strFilename == file20) { mouse_over_title20(); }
else { } 
if (strFilename == file21) { mouse_over_title21(); }
else { } 
if (strFilename == file22) { mouse_over_title22(); }
else { } 
if (strFilename == file23) { mouse_over_title23(); }
else { } 
if (strFilename == file24) { mouse_over_title24(); }
else { } 
if (strFilename == file25) { mouse_over_title25(); }
else { } 
if (strFilename == file26) { mouse_over_title26(); }
else { } 
if (strFilename == file27) { mouse_over_title27(); }
else { } 
if (strFilename == file28) { mouse_over_title28(); }
else { } 
if (strFilename == file29) { mouse_over_title29(); }
else { } 
if (strFilename == file30) { mouse_over_title30(); }
else { }

}




 function next()
{
    imgNumber++
    if (imgNumber == NumberOfImages)
        imgNumber = 0
    document.images["the_image"].src = (ordnername + "/" + img[imgNumber] + ".jpg")
    document.getElementById('image_title').innerHTML=title[imgNumber]
	preload_image_object.src = (ordnername + "/" + img[imgNumber + 1] + ".jpg");
}

function prev()
{
    imgNumber--
    if (imgNumber < 0)
        imgNumber = NumberOfImages - 1
    document.images["the_image"].src = (ordnername + "/" + img[imgNumber] + ".jpg")
    document.getElementById('image_title').innerHTML=title[imgNumber];
}  





function MM_swapImgRestore() { //v3.0
   var i,x,a=document.MM_sr; 
for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
   var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
     var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; 
i<a.length; i++)
     if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; 
d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
   var p,i,x;  if(!d) d=document; 
if((p=n.indexOf("?"))>0&&parent.frames.length) {
     d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
   if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) 
x=d.forms[i][n];
   for(i=0;!x&&d.layers&&i<d.layers.length;i++) 
x=MM_findObj(n,d.layers[i].document);
   if(!x && document.getElementById) x=document.getElementById(n); 
return x;
}

function MM_swapImage() { //v3.0
   var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; 
for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) 
x.oSrc=x.src; x.src=a[i+2];}
}









function mouse_over01 () { document.getElementById("one_thumb01").style.backgroundColor="#000000"; }
function mouse_out01 () { document.getElementById("one_thumb01").style.backgroundColor="#FFFFFF"; }
function mouse_over02 () { document.getElementById("one_thumb02").style.backgroundColor="#000000"; }
function mouse_out02 () { document.getElementById("one_thumb02").style.backgroundColor="#FFFFFF"; }
function mouse_over03 () { document.getElementById("one_thumb03").style.backgroundColor="#000000"; }
function mouse_out03 () { document.getElementById("one_thumb03").style.backgroundColor="#FFFFFF"; }
function mouse_over04 () { document.getElementById("one_thumb04").style.backgroundColor="#000000"; }
function mouse_out04 () { document.getElementById("one_thumb04").style.backgroundColor="#FFFFFF"; }
function mouse_over05 () { document.getElementById("one_thumb05").style.backgroundColor="#000000"; }
function mouse_out05 () { document.getElementById("one_thumb05").style.backgroundColor="#FFFFFF"; }
function mouse_over06 () { document.getElementById("one_thumb06").style.backgroundColor="#000000"; }
function mouse_out06 () { document.getElementById("one_thumb06").style.backgroundColor="#FFFFFF"; }
function mouse_over07 () { document.getElementById("one_thumb07").style.backgroundColor="#000000"; }
function mouse_out07 () { document.getElementById("one_thumb07").style.backgroundColor="#FFFFFF"; }
function mouse_over08 () { document.getElementById("one_thumb08").style.backgroundColor="#000000"; }
function mouse_out08 () { document.getElementById("one_thumb08").style.backgroundColor="#FFFFFF"; }
function mouse_over09 () { document.getElementById("one_thumb09").style.backgroundColor="#000000"; }
function mouse_out09 () { document.getElementById("one_thumb09").style.backgroundColor="#FFFFFF"; }
function mouse_over10 () { document.getElementById("one_thumb10").style.backgroundColor="#000000"; }
function mouse_out10 () { document.getElementById("one_thumb10").style.backgroundColor="#FFFFFF"; }
function mouse_over11 () { document.getElementById("one_thumb11").style.backgroundColor="#000000"; }
function mouse_out11 () { document.getElementById("one_thumb11").style.backgroundColor="#FFFFFF"; }
function mouse_over12 () { document.getElementById("one_thumb12").style.backgroundColor="#000000"; }
function mouse_out12 () { document.getElementById("one_thumb12").style.backgroundColor="#FFFFFF"; }
function mouse_over13 () { document.getElementById("one_thumb13").style.backgroundColor="#000000"; }
function mouse_out13 () { document.getElementById("one_thumb13").style.backgroundColor="#FFFFFF"; }
function mouse_over14 () { document.getElementById("one_thumb14").style.backgroundColor="#000000"; }
function mouse_out14 () { document.getElementById("one_thumb14").style.backgroundColor="#FFFFFF"; }
function mouse_over15 () { document.getElementById("one_thumb15").style.backgroundColor="#000000"; }
function mouse_out15 () { document.getElementById("one_thumb15").style.backgroundColor="#FFFFFF"; }
function mouse_over16 () { document.getElementById("one_thumb16").style.backgroundColor="#000000"; }
function mouse_out16 () { document.getElementById("one_thumb16").style.backgroundColor="#FFFFFF"; }
function mouse_over17 () { document.getElementById("one_thumb17").style.backgroundColor="#000000"; }
function mouse_out17 () { document.getElementById("one_thumb17").style.backgroundColor="#FFFFFF"; }
function mouse_over18 () { document.getElementById("one_thumb18").style.backgroundColor="#000000"; }
function mouse_out18 () { document.getElementById("one_thumb18").style.backgroundColor="#FFFFFF"; }
function mouse_over19 () { document.getElementById("one_thumb19").style.backgroundColor="#000000"; }
function mouse_out19 () { document.getElementById("one_thumb19").style.backgroundColor="#FFFFFF"; }
function mouse_over20 () { document.getElementById("one_thumb20").style.backgroundColor="#000000"; }
function mouse_out20 () { document.getElementById("one_thumb20").style.backgroundColor="#FFFFFF"; }
function mouse_over21 () { document.getElementById("one_thumb21").style.backgroundColor="#000000"; }
function mouse_out21 () { document.getElementById("one_thumb21").style.backgroundColor="#FFFFFF"; }
function mouse_over22 () { document.getElementById("one_thumb22").style.backgroundColor="#000000"; }
function mouse_out22 () { document.getElementById("one_thumb22").style.backgroundColor="#FFFFFF"; }
function mouse_over23 () { document.getElementById("one_thumb23").style.backgroundColor="#000000"; }
function mouse_out23 () { document.getElementById("one_thumb23").style.backgroundColor="#FFFFFF"; }
function mouse_over24 () { document.getElementById("one_thumb24").style.backgroundColor="#000000"; }
function mouse_out24 () { document.getElementById("one_thumb24").style.backgroundColor="#FFFFFF"; }
function mouse_over25 () { document.getElementById("one_thumb25").style.backgroundColor="#000000"; }
function mouse_out25 () { document.getElementById("one_thumb25").style.backgroundColor="#FFFFFF"; }
function mouse_over26 () { document.getElementById("one_thumb26").style.backgroundColor="#000000"; }
function mouse_out26 () { document.getElementById("one_thumb26").style.backgroundColor="#FFFFFF"; }
function mouse_over27 () { document.getElementById("one_thumb27").style.backgroundColor="#000000"; }
function mouse_out27 () { document.getElementById("one_thumb27").style.backgroundColor="#FFFFFF"; }
function mouse_over28 () { document.getElementById("one_thumb28").style.backgroundColor="#000000"; }
function mouse_out28 () { document.getElementById("one_thumb28").style.backgroundColor="#FFFFFF"; }
function mouse_over29 () { document.getElementById("one_thumb29").style.backgroundColor="#000000"; }
function mouse_out29 () { document.getElementById("one_thumb29").style.backgroundColor="#FFFFFF"; }
function mouse_over30 () { document.getElementById("one_thumb30").style.backgroundColor="#000000"; }
function mouse_out30 () { document.getElementById("one_thumb30").style.backgroundColor="#FFFFFF"; }

function mouse_over_title01 () { document.getElementById("one_title01").className = 'project_highlight'; document.getElementById("one_thumb01").style.backgroundColor="#000000"; }
function mouse_out_title01 () { document.getElementById("one_title01").className = 'project_blank'; document.getElementById("one_thumb01").style.backgroundColor="#FFFFFF"; }
function mouse_over_title02 () { document.getElementById("one_title02").className = 'project_highlight'; document.getElementById("one_thumb02").style.backgroundColor="#000000"; }
function mouse_out_title02 () { document.getElementById("one_title02").className = 'project_blank'; document.getElementById("one_thumb02").style.backgroundColor="#FFFFFF"; }
function mouse_over_title03 () { document.getElementById("one_title03").className = 'project_highlight'; document.getElementById("one_thumb03").style.backgroundColor="#000000"; }
function mouse_out_title03 () { document.getElementById("one_title03").className = 'project_blank'; document.getElementById("one_thumb03").style.backgroundColor="#FFFFFF"; }
function mouse_over_title04 () { document.getElementById("one_title04").className = 'project_highlight'; document.getElementById("one_thumb04").style.backgroundColor="#000000"; }
function mouse_out_title04 () { document.getElementById("one_title04").className = 'project_blank'; document.getElementById("one_thumb04").style.backgroundColor="#FFFFFF"; }
function mouse_over_title05 () { document.getElementById("one_title05").className = 'project_highlight'; document.getElementById("one_thumb05").style.backgroundColor="#000000"; }
function mouse_out_title05 () { document.getElementById("one_title05").className = 'project_blank'; document.getElementById("one_thumb05").style.backgroundColor="#FFFFFF"; }
function mouse_over_title06 () { document.getElementById("one_title06").className = 'project_highlight'; document.getElementById("one_thumb06").style.backgroundColor="#000000"; }
function mouse_out_title06 () { document.getElementById("one_title06").className = 'project_blank'; document.getElementById("one_thumb06").style.backgroundColor="#FFFFFF"; }
function mouse_over_title07 () { document.getElementById("one_title07").className = 'project_highlight'; document.getElementById("one_thumb07").style.backgroundColor="#000000"; }
function mouse_out_title07 () { document.getElementById("one_title07").className = 'project_blank'; document.getElementById("one_thumb07").style.backgroundColor="#FFFFFF"; }
function mouse_over_title08 () { document.getElementById("one_title08").className = 'project_highlight'; document.getElementById("one_thumb08").style.backgroundColor="#000000"; }
function mouse_out_title08 () { document.getElementById("one_title08").className = 'project_blank'; document.getElementById("one_thumb08").style.backgroundColor="#FFFFFF"; }
function mouse_over_title09 () { document.getElementById("one_title09").className = 'project_highlight'; document.getElementById("one_thumb09").style.backgroundColor="#000000"; }
function mouse_out_title09 () { document.getElementById("one_title09").className = 'project_blank'; document.getElementById("one_thumb09").style.backgroundColor="#FFFFFF"; }
function mouse_over_title10 () { document.getElementById("one_title10").className = 'project_highlight'; document.getElementById("one_thumb10").style.backgroundColor="#000000"; }
function mouse_out_title10 () { document.getElementById("one_title10").className = 'project_blank'; document.getElementById("one_thumb10").style.backgroundColor="#FFFFFF"; }
function mouse_over_title11 () { document.getElementById("one_title11").className = 'project_highlight'; document.getElementById("one_thumb11").style.backgroundColor="#000000"; }
function mouse_out_title11 () { document.getElementById("one_title11").className = 'project_blank'; document.getElementById("one_thumb11").style.backgroundColor="#FFFFFF"; }
function mouse_over_title12 () { document.getElementById("one_title12").className = 'project_highlight'; document.getElementById("one_thumb12").style.backgroundColor="#000000"; }
function mouse_out_title12 () { document.getElementById("one_title12").className = 'project_blank'; document.getElementById("one_thumb12").style.backgroundColor="#FFFFFF"; }
function mouse_over_title13 () { document.getElementById("one_title13").className = 'project_highlight'; document.getElementById("one_thumb13").style.backgroundColor="#000000"; }
function mouse_out_title13 () { document.getElementById("one_title13").className = 'project_blank'; document.getElementById("one_thumb13").style.backgroundColor="#FFFFFF"; }
function mouse_over_title14 () { document.getElementById("one_title14").className = 'project_highlight'; document.getElementById("one_thumb14").style.backgroundColor="#000000"; }
function mouse_out_title14 () { document.getElementById("one_title14").className = 'project_blank'; document.getElementById("one_thumb14").style.backgroundColor="#FFFFFF"; }
function mouse_over_title15 () { document.getElementById("one_title15").className = 'project_highlight'; document.getElementById("one_thumb15").style.backgroundColor="#000000"; }
function mouse_out_title15 () { document.getElementById("one_title15").className = 'project_blank'; document.getElementById("one_thumb15").style.backgroundColor="#FFFFFF"; }
function mouse_over_title16 () { document.getElementById("one_title16").className = 'project_highlight'; document.getElementById("one_thumb16").style.backgroundColor="#000000"; }
function mouse_out_title16 () { document.getElementById("one_title16").className = 'project_blank'; document.getElementById("one_thumb16").style.backgroundColor="#FFFFFF"; }
function mouse_over_title17 () { document.getElementById("one_title17").className = 'project_highlight'; document.getElementById("one_thumb17").style.backgroundColor="#000000"; }
function mouse_out_title17 () { document.getElementById("one_title17").className = 'project_blank'; document.getElementById("one_thumb17").style.backgroundColor="#FFFFFF"; }
function mouse_over_title18 () { document.getElementById("one_title18").className = 'project_highlight'; document.getElementById("one_thumb18").style.backgroundColor="#000000"; }
function mouse_out_title18 () { document.getElementById("one_title18").className = 'project_blank'; document.getElementById("one_thumb18").style.backgroundColor="#FFFFFF"; }
function mouse_over_title19 () { document.getElementById("one_title19").className = 'project_highlight'; document.getElementById("one_thumb19").style.backgroundColor="#000000"; }
function mouse_out_title19 () { document.getElementById("one_title19").className = 'project_blank'; document.getElementById("one_thumb19").style.backgroundColor="#FFFFFF"; }
function mouse_over_title20 () { document.getElementById("one_title20").className = 'project_highlight'; document.getElementById("one_thumb20").style.backgroundColor="#000000"; }
function mouse_out_title20 () { document.getElementById("one_title20").className = 'project_blank'; document.getElementById("one_thumb20").style.backgroundColor="#FFFFFF"; }
function mouse_over_title21 () { document.getElementById("one_title21").className = 'project_highlight'; document.getElementById("one_thumb21").style.backgroundColor="#000000"; }
function mouse_out_title21 () { document.getElementById("one_title21").className = 'project_blank'; document.getElementById("one_thumb21").style.backgroundColor="#FFFFFF"; }
function mouse_over_title22 () { document.getElementById("one_title22").className = 'project_highlight'; document.getElementById("one_thumb22").style.backgroundColor="#000000"; }
function mouse_out_title22 () { document.getElementById("one_title22").className = 'project_blank'; document.getElementById("one_thumb22").style.backgroundColor="#FFFFFF"; }
function mouse_over_title23 () { document.getElementById("one_title23").className = 'project_highlight'; document.getElementById("one_thumb23").style.backgroundColor="#000000"; }
function mouse_out_title23 () { document.getElementById("one_title23").className = 'project_blank'; document.getElementById("one_thumb23").style.backgroundColor="#FFFFFF"; }
function mouse_over_title24 () { document.getElementById("one_title24").className = 'project_highlight'; document.getElementById("one_thumb24").style.backgroundColor="#000000"; }
function mouse_out_title24 () { document.getElementById("one_title24").className = 'project_blank'; document.getElementById("one_thumb24").style.backgroundColor="#FFFFFF"; }
function mouse_over_title25 () { document.getElementById("one_title25").className = 'project_highlight'; document.getElementById("one_thumb25").style.backgroundColor="#000000"; }
function mouse_out_title25 () { document.getElementById("one_title25").className = 'project_blank'; document.getElementById("one_thumb25").style.backgroundColor="#FFFFFF"; }
function mouse_over_title26 () { document.getElementById("one_title26").className = 'project_highlight'; document.getElementById("one_thumb26").style.backgroundColor="#000000"; }
function mouse_out_title26 () { document.getElementById("one_title26").className = 'project_blank'; document.getElementById("one_thumb26").style.backgroundColor="#FFFFFF"; }
function mouse_over_title27 () { document.getElementById("one_title27").className = 'project_highlight'; document.getElementById("one_thumb27").style.backgroundColor="#000000"; }
function mouse_out_title27 () { document.getElementById("one_title27").className = 'project_blank'; document.getElementById("one_thumb27").style.backgroundColor="#FFFFFF"; }
function mouse_over_title28 () { document.getElementById("one_title28").className = 'project_highlight'; document.getElementById("one_thumb28").style.backgroundColor="#000000"; }
function mouse_out_title28 () { document.getElementById("one_title28").className = 'project_blank'; document.getElementById("one_thumb28").style.backgroundColor="#FFFFFF"; }
function mouse_over_title29 () { document.getElementById("one_title29").className = 'project_highlight'; document.getElementById("one_thumb29").style.backgroundColor="#000000"; }
function mouse_out_title29 () { document.getElementById("one_title29").className = 'project_blank'; document.getElementById("one_thumb29").style.backgroundColor="#FFFFFF"; }
function mouse_over_title30 () { document.getElementById("one_title30").className = 'project_highlight'; document.getElementById("one_thumb30").style.backgroundColor="#000000"; }
function mouse_out_title30 () { document.getElementById("one_title30").className = 'project_blank'; document.getElementById("one_thumb30").style.backgroundColor="#FFFFFF"; }

