var timenowrandimage86372 = 0; var counttimerrandimage86372 = -1; var counttimerlrandimage86372 = counttimerrandimage86372; var timesetrandimage86372 = 10; var nimagerandimage86372 = new Image; var imagesrandimage86372 = new Array('http://www.cgiconnection.com/randimage4/images/imperial_coronation-2.jpg','http://www.cgiconnection.com/randimage4/images/imperial_resurrection-2.jpg','http://www.cgiconnection.com/randimage4/images/imperial_cuckoo.jpg','http://www.cgiconnection.com/randimage4/images/imperial_lillies.jpg'); var urlsrandimage86372 = new Array('http://','http://','http://','http://'); var timesrandimage86372 = new Array('','','',''); var newwinsrandimage86372 = new Array('','','',''); var footersrandimage86372 = new Array('Coronation Egg','Resurrection Egg','Cuckoo Clock Egg','Lillies of the Valley Egg'); var timerrandimage86372; var timerfrandimage86372; var i = 0; var preloadimgrandimage86372 = 0; var footerrandimage86372 = '
Faberge Imperial Eggs'; var statusrandimage86372 = ''; var floatidrandimage86372 = 0; var zoomidrandimage86372 = 0; var carrandimage86372 = 1; var fadeSpeedrandimage86372 = 10; var outTime = 2100 - (fadeSpeedrandimage86372 * 35); var objrandimage86372; var opacityrandimage86372; var nsrandimage86372 = document.layers; var ierandimage86372 = document.all; var fadeinvalrandimage86372 = ""; var fadeoutvalrandimage86372 = ""; var sliderandimage86372 = 0; var zfrandimage86372 = 0.075; var ztrandimage86372 = 500; var wcrandimage86372; var Elemrandimage86372; var yPosrandimage86372 = 0; var xPosrandimage86372 = 0; var xPostrandimage86372 = 0; var yPostrandimage86372 = 0; var gsrandimage86372 = ""; if (preloadimgrandimage86372 == 1) { for(i=0; i < imagesrandimage86372.length; i++) { nimagerandimage86372.src = imagesrandimage86372[i]; } } function setOpacrandimage86372(objrandimage86372, opacityrandimage86372) { opacityrandimage86372 = (opacityrandimage86372 == 100)?99.999:opacityrandimage86372; if (nsrandimage86372) { objrandimage86372.style.MozOpacity = opacityrandimage86372/100; } else if (ierandimage86372) { objrandimage86372.style.filter = "alpha(opacity:"+opacityrandimage86372+")"; } else { objrandimage86372.style.opacity = opacityrandimage86372/100; } } function fadeInrandimage86372(objIdrandimage86372,opacityrandimage86372) { if (document.getElementById) { objrandimage86372 = document.getElementById(objIdrandimage86372); if (opacityrandimage86372 <= 100) { setOpacrandimage86372(objrandimage86372, opacityrandimage86372); opacityrandimage86372 += fadeSpeedrandimage86372; window.setTimeout("fadeInrandimage86372('" + objIdrandimage86372 +"',"+opacityrandimage86372+")", 100); } else { setOpacrandimage86372(objrandimage86372, 100); } } } function fadeOutrandimage86372(objIdrandimage86372,opacityrandimage86372) { if (document.getElementById) { objrandimage86372 = document.getElementById(objIdrandimage86372); if (opacityrandimage86372 >= 0) { setOpacrandimage86372(objrandimage86372, opacityrandimage86372); opacityrandimage86372 = opacityrandimage86372 - fadeSpeedrandimage86372; window.setTimeout("fadeOutrandimage86372('" + objIdrandimage86372 +"',"+opacityrandimage86372+")", 100); } else { setOpacrandimage86372(objrandimage86372, 0); } } } function changeTextrandimage86372(div_id,val){ elm=document.getElementById(div_id); elm.innerHTML = '

' + val + footerrandimage86372 + '

'; } document.write(''); if (floatidrandimage86372 == 1) { document.write('
'); } document.write('

'); document.write(''); document.write(''); } if (sliderandimage86372 == 1 || carrandimage86372 == 1) { document.write(''); } else { document.write(''); } document.write('

'); document.write('
'); if (carrandimage86372 == 1) { document.write('
'); } if (sliderandimage86372 == 1) { document.write('
'); document.write('
'); document.write('
'); document.write('
'); } if (sliderandimage86372 != 1 && carrandimage86372 != 1) { if (zoomidrandimage86372 == 0) { document.write(''); } else { document.write(''); } document.write('
'); document.write('
' + footerrandimage86372 + '
'); if (floatidrandimage86372 == 1) { document.write('

'); } var imageIdrandimage86372 = 'randimage86372'; var imageElemrandimage86372 = document.getElementById(imageIdrandimage86372); var tempURLnum; function go_urlrandimage86372(tempURLnum,openinnew,templink,tempsrc) { window.status = statusrandimage86372; var myURL = ""; var isNew = ""; var mySRC = ""; var mainURL = "http://www.cgiconnection.com/cgi-bin/cgi-con/randimage4.cgi"; var recURL86372 = 0; if (tempURLnum > 0) { counttimerrandimage86372 = tempURLnum - 1; } if (tempURLnum == -1) { myURL = templink; mySRC = tempsrc; isNew = openinnew; } else { myURL = urlsrandimage86372[counttimerrandimage86372]; mySRC = imagesrandimage86372[counttimerrandimage86372]; isNew = newwinsrandimage86372[counttimerrandimage86372]; } if (myURL != "" && myURL != "http://") { if (recURL86372 == 1) { myURL = mainURL + '?filename=faberge&gourl=' + escape(myURL) + '&img=' + escape(mySRC); } if (isNew == "Y") { window.open(myURL,'RandomImage','resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes,width=790,height=550,top=10,left=10'); } else { location.href = myURL; } } } function go_backrandimage86372() { clearTimeout(timerfrandimage86372); window.status = statusrandimage86372; counttimerlrandimage86372 = counttimerrandimage86372; counttimerrandimage86372 = counttimerrandimage86372 - 1; begin_imagerandimage86372(1); } function go_nextrandimage86372() { clearTimeout(timerfrandimage86372); window.status = statusrandimage86372; counttimerlrandimage86372 = counttimerrandimage86372; counttimerrandimage86372++; begin_imagerandimage86372(1); } function begin_imagerandimage86372(doit) { if (counttimerrandimage86372 >= (imagesrandimage86372.length - 1)) { if (doit < 1) { counttimerrandimage86372 = 0; } } else { if (doit < 1) { counttimerrandimage86372++; } } if (counttimerrandimage86372 < 0 && doit == 1) { counttimerrandimage86372 = imagesrandimage86372.length - 1; } if (counttimerrandimage86372 > (imagesrandimage86372.length - 1) && doit == 1) { counttimerrandimage86372 = 0; } var tempTime = timesrandimage86372[counttimerrandimage86372]; if (tempTime < 1) { tempTime = timesetrandimage86372; } tempTime = tempTime * 1000; if (fadeinvalrandimage86372 == 'Y') { setOpacrandimage86372(imageElemrandimage86372, 0); } if (fadeinvalrandimage86372 == '' && fadeoutvalrandimage86372 == 'Y') { setOpacrandimage86372(imageElemrandimage86372, 100); } nimagerandimage86372.src = imagesrandimage86372[counttimerrandimage86372]; document.randimage86372.src = nimagerandimage86372.src; changeTextrandimage86372("divtextrandimage86372",footersrandimage86372[counttimerrandimage86372]); if (fadeinvalrandimage86372 == 'Y') { fadeInrandimage86372(imageIdrandimage86372,0); } if (fadeoutvalrandimage86372 == 'Y') { timerfrandimage86372 = setTimeout('fadeOutrandimage86372(imageIdrandimage86372,100);', (tempTime - outTime)); } clearTimeout(timerrandimage86372); timerrandimage86372 = setTimeout('begin_imagerandimage86372(0);', tempTime); } function dimsrandimage86372(Elemrandimage86372) { var ns4 = document.layers; var op5 = (navigator.userAgent.indexOf("Opera 5")!=-1) ||(navigator.userAgent.indexOf("Opera/5")!=-1); var op6 = (navigator.userAgent.indexOf("Opera 6")!=-1) ||(navigator.userAgent.indexOf("Opera/6")!=-1); var agt=navigator.userAgent.toLowerCase(); var mac = (agt.indexOf("mac")!=-1); var ie = (agt.indexOf("msie") != -1); var mac_ie = mac && ie; if (xPosrandimage86372 > 0) { xPostrandimage86372 = xPosrandimage86372; yPostrandimage86372 = yPosrandimage86372; wcrandimage86372.style.width = xPosrandimage86372; wcrandimage86372.style.height = yPosrandimage86372; } if (ns4) { var Elemrandimage86372 = getObjNN4(document, Elemrandimage86372); yPosrandimage86372 = Elemrandimage86372.clip.height; xPosrandimage86372 = Elemrandimage86372.clip.width; return; } else { var Elemrandimage86372; if(document.getElementById) { var Elemrandimage86372 = document.getElementById(Elemrandimage86372); } else if (document.all) { var Elemrandimage86372 = document.all[Elemrandimage86372]; } } if (op5) { yPosrandimage86372 = Elemrandimage86372.style.pixelHeight; xPosrandimage86372 = Elemrandimage86372.style.pixelWidth; } else { yPosrandimage86372 = Elemrandimage86372.offsetHeight; xPosrandimage86372 = Elemrandimage86372.offsetWidth; } } function znrandimage86372() { clearTimeout(timerrandimage86372); clearTimeout(timerfrandimage86372); czrandimage86372(); if (xPosrandimage86372 > 0) { wcrandimage86372.style.width = xPosrandimage86372; wcrandimage86372.style.height = yPosrandimage86372; } dimsrandimage86372("randimage86372"); window.status=statusrandimage86372; zoomrandimage86372(xPosrandimage86372,yPosrandimage86372,'randimage86372','in'); timerrandimage86372 = setTimeout("czrandimage86372();", ztrandimage86372); } function zbrandimage86372() { xPostrandimage86372 = xPosrandimage86372; yPostrandimage86372 = yPosrandimage86372; clearTimeout(timerrandimage86372); czrandimage86372(); setOpacrandimage86372(imageElemrandimage86372, 100); zoomrandimage86372(xPosrandimage86372,yPosrandimage86372,'randimage86372','out'); timerrandimage86372 = setTimeout('begin_imagerandimage86372(0);', counttimerlrandimage86372); } function zhrandimage86372(){ if (gsrandimage86372 == "out" && (xPostrandimage86372 < xPosrandimage86372 || yPostrandimage86372 < yPosrandimage86372)) { setOpacrandimage86372(imageElemrandimage86372, 100); xPostrandimage86372 = xPosrandimage86372; yPostrandimage86372 = yPosrandimage86372; wcrandimage86372.style.width = xPosrandimage86372; wcrandimage86372.style.height = yPosrandimage86372; gsrandimage86372 = ""; czrandimage86372(); return; } if (parseInt(wcrandimage86372.style.width)>10&&parseInt(wcrandimage86372.style.height)>10) { xPostrandimage86372 = parseInt(wcrandimage86372.style.width) + parseInt(wcrandimage86372.style.width) * zfrandimage86372 * pfrandimage86372; yPostrandimage86372 = parseInt(wcrandimage86372.style.height) + parseInt(wcrandimage86372.style.height) * zfrandimage86372 * pfrandimage86372; wcrandimage86372.style.width = xPostrandimage86372; wcrandimage86372.style.height = yPostrandimage86372; } } function zoomrandimage86372(originalW, originalH, what, state){ gsrandimage86372 = state; if (!document.all&&!document.getElementById) { return; } wcrandimage86372 = eval("document.images."+what); pfrandimage86372 = (state=="in")? 1 : -1; if (wcrandimage86372.style.width=="") { wcrandimage86372.style.width=originalW; wcrandimage86372.style.height=originalH; } if (state=="restore"){ xPostrandimage86372 = xPosrandimage86372; yPostrandimage86372 = yPosrandimage86372; wcrandimage86372.style.width=originalW; wcrandimage86372.style.height=originalH; czrandimage86372(); return; } else { zhrandimage86372(); } bzrandimage86372 = setInterval("zhrandimage86372()",100); } function czrandimage86372(){ if (window.bzrandimage86372) { if (gsrandimage86372 != "in" && (xPostrandimage86372 != xPosrandimage86372 || yPostrandimage86372 != yPosrandimage86372)) { xPostrandimage86372 = xPosrandimage86372; yPostrandimage86372 = yPosrandimage86372; wcrandimage86372.style.width = xPosrandimage86372; wcrandimage86372.style.height = yPosrandimage86372; gsrandimage86372 = ""; } clearInterval(bzrandimage86372); } } var tempcount2; var tempcount5; var Car_Image_Sources86372 = new Array(); var FootersAll86372 = new Array(); var myNewWin86372 = new Array(); var imglength86372 = imagesrandimage86372.length; /*********************************************** * Carousel Slideshow script- © Ger Versluis 2003 * Permission granted to DynamicDrive.com to feature script * This notice must stay intact for legal use * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ var Car_Image_Width86372 = 220; var Car_Image_Height86372 = 300; var Car_Border=false; var Car_Border_Color="white"; var Car_Speed86372 = 3; var Car_Direction86372 = false; var Car_NoOfSides86372 = 4; var tempcounta86372 = 0; var carTimer86372; var tempL86372 = 0; function startItC86372(whichOne) { if (whichOne == 0) { clearTimeout(carTimer86372); Car_Direction86372 = true; } else { clearTimeout(carTimer86372); Car_Direction86372 = false; } carTimer86372 = setTimeout("CarImages86372()",50); } if (imglength86372 < 6) { tempL86372 = 7 - imglength86372; } if (tempL86372 < 1) { tempL86372 = 1; } var mainCount86372 = 0; for (tempcount5 = 0; tempcount5 < tempL86372; tempcount5++) { for (tempcount2 = 0; tempcount2 < imglength86372; tempcount2++) { var tempVal = imagesrandimage86372[tempcount2]; Car_Image_Sources86372[tempcounta86372] = tempVal; FootersAll86372[tempcounta86372] = footersrandimage86372[tempcount2]; myNewWin86372[tempcounta86372] = newwinsrandimage86372[tempcount2]; tempcounta86372++; Car_Image_Sources86372[tempcounta86372] = urlsrandimage86372[tempcount2]; FootersAll86372[tempcounta86372] = footersrandimage86372[tempcount2]; myNewWin86372[tempcounta86372] = newwinsrandimage86372[tempcount2]; tempcounta86372++; mainCount86372++; } } imglength86372 = mainCount86372; CW_I86372 = new Array(Car_NoOfSides86372 / 2+1);C_ClcW86372 = new Array(Car_NoOfSides86372 / 2); C_Coef86372 = new Array( 3*Math.PI/2,0,3*Math.PI/2,11*Math.PI/6,Math.PI/6,3*Math.PI/2,7*Math.PI/4, 0, Math.PI/4,3*Math.PI/2,5*Math.PI/3,11*Math.PI/6,0,Math.PI/6,Math.PI/3); var C_CoefOf86372 = Car_NoOfSides86372 == 4?0:Car_NoOfSides86372 == 6 ? 2:Car_NoOfSides86372 == 8?5:9; C_Pre_Img86372 = new Array(Car_Image_Sources86372.length); var C_Angle86372 = Car_Direction86372 ? Math.PI/(Car_NoOfSides86372 / 2):0,C_CrImg86372 = Car_NoOfSides86372,C_MaxW86372,C_TotalW86372,C_Stppd86372=false,i86372,C_LeftOffset86372,C_HalfNo86372 = Car_NoOfSides86372 / 2; function CarouselStart86372(){ if(document.getElementById){ for(i86372=0;i86372 < Car_Image_Sources86372.length; i86372+=2){ C_Pre_Img86372[i86372]=new Image();C_Pre_Img86372[i86372].src=Car_Image_Sources86372[i86372]} C_MaxW86372=Car_Image_Width86372 / Math.sin(Math.PI/Car_NoOfSides86372)+C_HalfNo86372 + 1; Car_Div=document.getElementById("Carousel86372"); for(i86372=0;i86372= Math.PI/C_HalfNo86372)){ if(C_CrImg86372 == Car_Image_Sources86372.length)C_CrImg86372=0; if(Car_Direction86372){ CW_I86372[C_HalfNo86372] = CW_I86372[0]; for(i86372=0;i86372 0;i86372--)CW_I86372[i86372]=CW_I86372[i86372-1]; CW_I86372[0]=CW_I86372[C_HalfNo86372]; CW_I86372[0].src=Car_Image_Sources86372[C_CrImg86372]; CW_I86372[0].lnk=Car_Image_Sources86372[C_CrImg86372+1]; CW_I86372[0].desc=FootersAll86372[C_CrImg86372]; CW_I86372[0].newwin=myNewWin86372[C_CrImg86372]; } C_Angle86372 = Car_Direction86372 ? Math.PI/C_HalfNo86372:0;C_CrImg86372+=2;}} carTimer86372 = setTimeout("CarImages86372()",50);} function C_LdLnk86372(){go_urlrandimage86372(-1,this.newwin,this.lnk,this.src);} function C_Stp86372(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd86372=true;changeTextrandimage86372("divtextrandimage86372",this.desc);} function C_Rstrt86372(){C_Stppd86372=false;changeTextrandimage86372("divtextrandimage86372","");} setTimeout("CarouselStart86372()",100);