﻿function MM_swapImgRestore(){var a,b,c=document.MM_sr;for(a=0;c&&a<c.length&&(b=c[a])&&b.oSrc;a++)b.src=b.oSrc}function MM_preloadImages(){var a=document;if(a.images){if(!a.MM_p)a.MM_p=[];var b,d=a.MM_p.length,c=MM_preloadImages.arguments;for(b=0;b<c.length;b++)if(c[b].indexOf("#")!=0){a.MM_p[d]=new Image;a.MM_p[d++].src=c[b]}}}function MM_findObj(b,a){var e,d,c;if(!a)a=document;if((e=b.indexOf("?"))>0&&parent.frames.length){a=parent.frames[b.substring(e+1)].document;b=b.substring(0,e)}if(!(c=a[b])&&a.all)c=a.all[b];for(d=0;!c&&d<a.forms.length;d++)c=a.forms[d][b];for(d=0;!c&&a.layers&&d<a.layers.length;d++)c=MM_findObj(b,a.layers[d].document);if(!c&&a.getElementById)c=a.getElementById(b);return c}function MM_swapImage(){var b,d=0,a,c=MM_swapImage.arguments;document.MM_sr=[];for(b=0;b<c.length-2;b+=3)if((a=MM_findObj(c[b]))!=null){document.MM_sr[d++]=a;if(!a.oSrc)a.oSrc=a.src;a.src=c[b+2]}}function preloadImages(){MM_preloadImages("images/btn_on_home.png","images/btn_on_about.png","images/btn_on_Services.png","images/bnt_on_support.png","images/btn_on_contact.png")}function checkform(){if(document.contact.name.value==""){alert("Name, Email and Comments are required");return false}else if(document.contact.email.value==""){alert("Name, Email and Comments are required");return false}else if(document.contact.comments.value==""){alert("Name, Email and Comments are required");return false}else return true}PositionX=100;PositionY=100;defaultWidth=500;defaultHeight=500;var AutoClose=false;if(parseInt(navigator.appVersion.charAt(0))>=4)var isNN=navigator.appName=="Netscape"?1:0,isIE=navigator.appName.indexOf("Microsoft")!=-1?1:0;var optNN="scrollbars=no,width="+defaultWidth+",height="+defaultHeight+",left="+PositionX+",top="+PositionY,optIE="scrollbars=no,width=150,height=100,left="+PositionX+",top="+PositionY;function popTheImage(imageURL,imageTitle){if(isNN)imgWin=window.open("about:blank","",optNN);if(isIE)imgWin=window.open("about:blank","",optIE);with(imgWin.document){writeln("<html><head><title>Loading...</title><style>body{margin:0px;}</style>");writeln("<script>");writeln("var isNN,isIE;");writeln("if (parseInt(navigator.appVersion.charAt(0))>=4){");writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');writeln("function reSizeToImage(){");writeln("if (isIE){");writeln("window.resizeTo(300,300);");writeln("width=300-(document.body.clientWidth-document.images[0].width);");writeln("height=300-(document.body.clientHeight-document.images[0].height);");writeln("window.resizeTo(width,height);}");writeln("if (isNN){");writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln("</sc"+"ript>");if(!AutoClose)writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">');else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');close()}}function popupWindow(a){window.open(a,"popupWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150")}