var timenowrandimage40979 = 0;
var counttimerrandimage40979 = -1;
var counttimerlrandimage40979 = counttimerrandimage40979;
var timesetrandimage40979 = 10;
var nimagerandimage40979 = new Image;
var imagesrandimage40979 = new Array('http://www.cgiconnection.com/randimage4/images/surveymaker.jpg','http://www.cgiconnection.com/randimage4/images/imagerotator.jpg','http://www.cgiconnection.com/randimage4/images/instaphoto.jpg','http://www.cgiconnection.com/randimage4/images/formpro.jpg','http://www.cgiconnection.com/randimage4/images/instasite.jpg','http://www.cgiconnection.com/randimage4/images/chat20.jpg','http://www.cgiconnection.com/randimage4/images/instahoverads.jpg','http://www.cgiconnection.com/randimage4/images/cgiofficecrm.jpg');
var urlsrandimage40979 = new Array('http://','http://','http://','http://','http://','http://','http://','http://');
var timesrandimage40979 = new Array('','','','','','','','');
var newwinsrandimage40979 = new Array('','','','','','','','');
var footersrandimage40979 = new Array('','','','','','','','');
var timerrandimage40979;
var timerfrandimage40979;
var i = 0;
var preloadimgrandimage40979 = 1;
var footerrandimage40979 = '
100+ Auto-Installing Web Site Software Titles ';
var statusrandimage40979 = '';
var floatidrandimage40979 = 0;
var zoomidrandimage40979 = 0;
var carrandimage40979 = 1;
var fadeSpeedrandimage40979 = 10;
var outTime = 2100 - (fadeSpeedrandimage40979 * 35);
var objrandimage40979;
var opacityrandimage40979;
var nsrandimage40979 = document.layers;
var ierandimage40979 = document.all;
var fadeinvalrandimage40979 = "";
var fadeoutvalrandimage40979 = "";
var sliderandimage40979 = 0;
var zfrandimage40979 = 0.075;
var ztrandimage40979 = 500;
var wcrandimage40979;
var Elemrandimage40979;
var yPosrandimage40979 = 0;
var xPosrandimage40979 = 0;
var xPostrandimage40979 = 0;
var yPostrandimage40979 = 0;
var gsrandimage40979 = "";
if (preloadimgrandimage40979 == 1)
{
for(i=0; i < imagesrandimage40979.length; i++)
{
nimagerandimage40979.src = imagesrandimage40979[i];
}
}
function setOpacrandimage40979(objrandimage40979, opacityrandimage40979) {
opacityrandimage40979 = (opacityrandimage40979 == 100)?99.999:opacityrandimage40979;
if (nsrandimage40979)
{
objrandimage40979.style.MozOpacity = opacityrandimage40979/100;
}
else if (ierandimage40979)
{
objrandimage40979.style.filter = "alpha(opacity:"+opacityrandimage40979+")";
}
else
{
objrandimage40979.style.opacity = opacityrandimage40979/100;
}
}
function fadeInrandimage40979(objIdrandimage40979,opacityrandimage40979) {
if (document.getElementById) {
objrandimage40979 = document.getElementById(objIdrandimage40979);
if (opacityrandimage40979 <= 100) {
setOpacrandimage40979(objrandimage40979, opacityrandimage40979);
opacityrandimage40979 += fadeSpeedrandimage40979;
window.setTimeout("fadeInrandimage40979('" + objIdrandimage40979 +"',"+opacityrandimage40979+")", 100);
}
else
{
setOpacrandimage40979(objrandimage40979, 100);
}
}
}
function fadeOutrandimage40979(objIdrandimage40979,opacityrandimage40979) {
if (document.getElementById) {
objrandimage40979 = document.getElementById(objIdrandimage40979);
if (opacityrandimage40979 >= 0) {
setOpacrandimage40979(objrandimage40979, opacityrandimage40979);
opacityrandimage40979 = opacityrandimage40979 - fadeSpeedrandimage40979;
window.setTimeout("fadeOutrandimage40979('" + objIdrandimage40979 +"',"+opacityrandimage40979+")", 100);
}
else
{
setOpacrandimage40979(objrandimage40979, 0);
}
}
}
function changeTextrandimage40979(div_id,val){
elm=document.getElementById(div_id);
elm.innerHTML = '
' + val + footerrandimage40979 + '
';
}
document.write('');
if (floatidrandimage40979 == 1)
{
document.write('');
}
document.write('
');
document.write('
');
document.write('');
if (carrandimage40979 == 1)
{
document.write('');
}
if (sliderandimage40979 == 1)
{
document.write('');
document.write(' ');
document.write(' ');
document.write(' ');
}
if (sliderandimage40979 != 1 && carrandimage40979 != 1)
{
if (zoomidrandimage40979 == 0)
{
document.write('');
}
else
{
document.write('');
}
document.write('');
document.write(' |
');
}
if (sliderandimage40979 == 1 || carrandimage40979 == 1)
{
document.write('' + footerrandimage40979 + ' |
');
}
else
{
document.write(' |
');
}
document.write('');
document.write('
');
if (floatidrandimage40979 == 1)
{
document.write('
');
}
var imageIdrandimage40979 = 'randimage40979';
var imageElemrandimage40979 = document.getElementById(imageIdrandimage40979);
var tempURLnum;
function go_urlrandimage40979(tempURLnum,openinnew,templink,tempsrc) {
window.status = statusrandimage40979;
var myURL = "";
var isNew = "";
var mySRC = "";
var mainURL = "http://www.cgiconnection.com/cgi-bin/cgi-con/randimage4.cgi";
var recURL40979 = 0;
if (tempURLnum > 0)
{
counttimerrandimage40979 = tempURLnum - 1;
}
if (tempURLnum == -1)
{
myURL = templink;
mySRC = tempsrc;
isNew = openinnew;
}
else
{
myURL = urlsrandimage40979[counttimerrandimage40979];
mySRC = imagesrandimage40979[counttimerrandimage40979];
isNew = newwinsrandimage40979[counttimerrandimage40979];
}
if (myURL != "" && myURL != "http://")
{
if (recURL40979 == 1)
{
myURL = mainURL + '?filename=softwarebig&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_backrandimage40979() {
clearTimeout(timerfrandimage40979);
window.status = statusrandimage40979;
counttimerlrandimage40979 = counttimerrandimage40979;
counttimerrandimage40979 = counttimerrandimage40979 - 1;
begin_imagerandimage40979(1);
}
function go_nextrandimage40979() {
clearTimeout(timerfrandimage40979);
window.status = statusrandimage40979;
counttimerlrandimage40979 = counttimerrandimage40979;
counttimerrandimage40979++;
begin_imagerandimage40979(1);
}
function begin_imagerandimage40979(doit) {
if (counttimerrandimage40979 >= (imagesrandimage40979.length - 1))
{
if (doit < 1)
{
counttimerrandimage40979 = 0;
}
}
else
{
if (doit < 1)
{
counttimerrandimage40979++;
}
}
if (counttimerrandimage40979 < 0 && doit == 1)
{
counttimerrandimage40979 = imagesrandimage40979.length - 1;
}
if (counttimerrandimage40979 > (imagesrandimage40979.length - 1) && doit == 1)
{
counttimerrandimage40979 = 0;
}
var tempTime = timesrandimage40979[counttimerrandimage40979];
if (tempTime < 1)
{
tempTime = timesetrandimage40979;
}
tempTime = tempTime * 1000;
if (fadeinvalrandimage40979 == 'Y')
{
setOpacrandimage40979(imageElemrandimage40979, 0);
}
if (fadeinvalrandimage40979 == '' && fadeoutvalrandimage40979 == 'Y')
{
setOpacrandimage40979(imageElemrandimage40979, 100);
}
nimagerandimage40979.src = imagesrandimage40979[counttimerrandimage40979];
document.randimage40979.src = nimagerandimage40979.src;
changeTextrandimage40979("divtextrandimage40979",footersrandimage40979[counttimerrandimage40979]);
if (fadeinvalrandimage40979 == 'Y')
{
fadeInrandimage40979(imageIdrandimage40979,0);
}
if (fadeoutvalrandimage40979 == 'Y')
{
timerfrandimage40979 = setTimeout('fadeOutrandimage40979(imageIdrandimage40979,100);', (tempTime - outTime));
}
clearTimeout(timerrandimage40979);
timerrandimage40979 = setTimeout('begin_imagerandimage40979(0);', tempTime);
}
function dimsrandimage40979(Elemrandimage40979) {
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 (xPosrandimage40979 > 0)
{
xPostrandimage40979 = xPosrandimage40979;
yPostrandimage40979 = yPosrandimage40979;
wcrandimage40979.style.width = xPosrandimage40979;
wcrandimage40979.style.height = yPosrandimage40979;
}
if (ns4) {
var Elemrandimage40979 = getObjNN4(document, Elemrandimage40979);
yPosrandimage40979 = Elemrandimage40979.clip.height;
xPosrandimage40979 = Elemrandimage40979.clip.width;
return;
}
else {
var Elemrandimage40979;
if(document.getElementById) {
var Elemrandimage40979 = document.getElementById(Elemrandimage40979);
}
else if (document.all) {
var Elemrandimage40979 = document.all[Elemrandimage40979];
}
}
if (op5) {
yPosrandimage40979 = Elemrandimage40979.style.pixelHeight;
xPosrandimage40979 = Elemrandimage40979.style.pixelWidth;
}
else {
yPosrandimage40979 = Elemrandimage40979.offsetHeight;
xPosrandimage40979 = Elemrandimage40979.offsetWidth;
}
}
function znrandimage40979() {
clearTimeout(timerrandimage40979);
clearTimeout(timerfrandimage40979);
czrandimage40979();
if (xPosrandimage40979 > 0)
{
wcrandimage40979.style.width = xPosrandimage40979;
wcrandimage40979.style.height = yPosrandimage40979;
}
dimsrandimage40979("randimage40979");
window.status=statusrandimage40979;
zoomrandimage40979(xPosrandimage40979,yPosrandimage40979,'randimage40979','in');
timerrandimage40979 = setTimeout("czrandimage40979();", ztrandimage40979);
}
function zbrandimage40979() {
xPostrandimage40979 = xPosrandimage40979;
yPostrandimage40979 = yPosrandimage40979;
clearTimeout(timerrandimage40979);
czrandimage40979();
setOpacrandimage40979(imageElemrandimage40979, 100);
zoomrandimage40979(xPosrandimage40979,yPosrandimage40979,'randimage40979','out');
timerrandimage40979 = setTimeout('begin_imagerandimage40979(0);', counttimerlrandimage40979);
}
function zhrandimage40979(){
if (gsrandimage40979 == "out" && (xPostrandimage40979 < xPosrandimage40979 || yPostrandimage40979 < yPosrandimage40979))
{
setOpacrandimage40979(imageElemrandimage40979, 100);
xPostrandimage40979 = xPosrandimage40979;
yPostrandimage40979 = yPosrandimage40979;
wcrandimage40979.style.width = xPosrandimage40979;
wcrandimage40979.style.height = yPosrandimage40979;
gsrandimage40979 = "";
czrandimage40979();
return;
}
if (parseInt(wcrandimage40979.style.width)>10&&parseInt(wcrandimage40979.style.height)>10)
{
xPostrandimage40979 = parseInt(wcrandimage40979.style.width) + parseInt(wcrandimage40979.style.width) * zfrandimage40979 * pfrandimage40979;
yPostrandimage40979 = parseInt(wcrandimage40979.style.height) + parseInt(wcrandimage40979.style.height) * zfrandimage40979 * pfrandimage40979;
wcrandimage40979.style.width = xPostrandimage40979;
wcrandimage40979.style.height = yPostrandimage40979;
}
}
function zoomrandimage40979(originalW, originalH, what, state){
gsrandimage40979 = state;
if (!document.all&&!document.getElementById) {
return;
}
wcrandimage40979 = eval("document.images."+what);
pfrandimage40979 = (state=="in")? 1 : -1;
if (wcrandimage40979.style.width=="")
{
wcrandimage40979.style.width=originalW;
wcrandimage40979.style.height=originalH;
}
if (state=="restore"){
xPostrandimage40979 = xPosrandimage40979;
yPostrandimage40979 = yPosrandimage40979;
wcrandimage40979.style.width=originalW;
wcrandimage40979.style.height=originalH;
czrandimage40979();
return;
}
else
{
zhrandimage40979();
}
bzrandimage40979 = setInterval("zhrandimage40979()",100);
}
function czrandimage40979(){
if (window.bzrandimage40979) {
if (gsrandimage40979 != "in" && (xPostrandimage40979 != xPosrandimage40979 || yPostrandimage40979 != yPosrandimage40979))
{
xPostrandimage40979 = xPosrandimage40979;
yPostrandimage40979 = yPosrandimage40979;
wcrandimage40979.style.width = xPosrandimage40979;
wcrandimage40979.style.height = yPosrandimage40979;
gsrandimage40979 = "";
}
clearInterval(bzrandimage40979);
}
}
var tempcount2;
var tempcount5;
var Car_Image_Sources40979 = new Array();
var FootersAll40979 = new Array();
var myNewWin40979 = new Array();
var imglength40979 = imagesrandimage40979.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_Width40979 = 220;
var Car_Image_Height40979 = 240;
var Car_Border=false;
var Car_Border_Color="white";
var Car_Speed40979 = 1;
var Car_Direction40979 = true;
var Car_NoOfSides40979 = 12;
var tempcounta40979 = 0;
var carTimer40979;
var tempL40979 = 0;
function startItC40979(whichOne) {
if (whichOne == 0)
{
clearTimeout(carTimer40979);
Car_Direction40979 = true;
}
else
{
clearTimeout(carTimer40979);
Car_Direction40979 = false;
}
carTimer40979 = setTimeout("CarImages40979()",50);
}
if (imglength40979 < 6)
{
tempL40979 = 7 - imglength40979;
}
if (tempL40979 < 1)
{
tempL40979 = 1;
}
var mainCount40979 = 0;
for (tempcount5 = 0; tempcount5 < tempL40979; tempcount5++)
{
for (tempcount2 = 0; tempcount2 < imglength40979; tempcount2++)
{
var tempVal = imagesrandimage40979[tempcount2];
Car_Image_Sources40979[tempcounta40979] = tempVal;
FootersAll40979[tempcounta40979] = footersrandimage40979[tempcount2];
myNewWin40979[tempcounta40979] = newwinsrandimage40979[tempcount2];
tempcounta40979++;
Car_Image_Sources40979[tempcounta40979] = urlsrandimage40979[tempcount2];
FootersAll40979[tempcounta40979] = footersrandimage40979[tempcount2];
myNewWin40979[tempcounta40979] = newwinsrandimage40979[tempcount2];
tempcounta40979++;
mainCount40979++;
}
}
imglength40979 = mainCount40979;
CW_I40979 = new Array(Car_NoOfSides40979 / 2+1);C_ClcW40979 = new Array(Car_NoOfSides40979 / 2);
C_Coef40979 = 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_CoefOf40979 = Car_NoOfSides40979 == 4?0:Car_NoOfSides40979 == 6 ? 2:Car_NoOfSides40979 == 8?5:9;
C_Pre_Img40979 = new Array(Car_Image_Sources40979.length);
var C_Angle40979 = Car_Direction40979 ? Math.PI/(Car_NoOfSides40979 / 2):0,C_CrImg40979 = Car_NoOfSides40979,C_MaxW40979,C_TotalW40979,C_Stppd40979=false,i40979,C_LeftOffset40979,C_HalfNo40979 = Car_NoOfSides40979 / 2;
function CarouselStart40979(){
if(document.getElementById){
for(i40979=0;i40979 < Car_Image_Sources40979.length; i40979+=2){
C_Pre_Img40979[i40979]=new Image();C_Pre_Img40979[i40979].src=Car_Image_Sources40979[i40979]}
C_MaxW40979=Car_Image_Width40979 / Math.sin(Math.PI/Car_NoOfSides40979)+C_HalfNo40979 + 1;
Car_Div=document.getElementById("Carousel40979");
for(i40979=0;i40979= Math.PI/C_HalfNo40979)){
if(C_CrImg40979 == Car_Image_Sources40979.length)C_CrImg40979=0;
if(Car_Direction40979){
CW_I40979[C_HalfNo40979] = CW_I40979[0];
for(i40979=0;i40979 0;i40979--)CW_I40979[i40979]=CW_I40979[i40979-1];
CW_I40979[0]=CW_I40979[C_HalfNo40979];
CW_I40979[0].src=Car_Image_Sources40979[C_CrImg40979];
CW_I40979[0].lnk=Car_Image_Sources40979[C_CrImg40979+1];
CW_I40979[0].desc=FootersAll40979[C_CrImg40979];
CW_I40979[0].newwin=myNewWin40979[C_CrImg40979];
}
C_Angle40979 = Car_Direction40979 ? Math.PI/C_HalfNo40979:0;C_CrImg40979+=2;}}
carTimer40979 = setTimeout("CarImages40979()",50);}
function C_LdLnk40979(){go_urlrandimage40979(-1,this.newwin,this.lnk,this.src);}
function C_Stp40979(){this.style.cursor=this.lnk?"pointer":"default";C_Stppd40979=true;changeTextrandimage40979("divtextrandimage40979",this.desc);}
function C_Rstrt40979(){C_Stppd40979=false;changeTextrandimage40979("divtextrandimage40979","");}
setTimeout("CarouselStart40979()",100);