$(document).ready(function(){$("a.hiw1").click(function(){$("#hiw-container").css({left:"50px"});$("#hiw-container").load("ajax_html/works-backup.html");});$("a.hiw2").click(function(){$("#hiw-container").css({left:"220px"});$("#hiw-container").load("ajax_html/works-dashboard.html");});$("a.hiw3").click(function(){$("#hiw-container").css({left:"350px"});$("#hiw-container").load("ajax_html/works-mobile.html");});$("a.hiw4").click(function(){$("#hiw-container").css({left:"500px"});$("#hiw-container").load("ajax_html/works-share.html");});$("a.hiw5").click(function(){$("#hiw-container").css({left:"670px"});$("#hiw-container").load("ajax_html/works-print.html");});$("a.scr1").click(function(){$("#large-img").attr("src","images/carousel/lg/screen1.jpg");$("#point-box").load("ajax_html/bullet-screen-1.html");});$("a.scr2").click(function(){$("#large-img").attr("src","images/carousel/lg/screen2.jpg");$("#point-box").load("ajax_html/bullet-screen-2.html");});$("a.scr3").click(function(){$("#large-img").attr("src","images/carousel/lg/screen3.jpg");$("#point-box").load("ajax_html/bullet-screen-3.html");});$("a.scr4").click(function(){$("#large-img").attr("src","images/carousel/lg/screen4.jpg");$("#point-box").load("ajax_html/bullet-screen-4.html");});$("a.scr5").click(function(){$("#large-img").attr("src","images/carousel/lg/screen5.jpg");$("#point-box").load("ajax_html/bullet-screen-5.html");});$("a.scr6").click(function(){$("#large-img").attr("src","images/carousel/lg/screen6.jpg");$("#point-box").load("ajax_html/bullet-screen-6.html");});$("a.lm1").click(function(){var cssObj={"z-index":"500"};$("#coverpage").css(cssObj);$("#coverpage").fadeTo("slow",0.8);$("#commenting").fadeIn("slow");});$("a.lm1close").click(function(){$("#coverpage").fadeTo("slow",0,function(){var cssObj={"z-index":"0"};$("#coverpage").css(cssObj);});$("#commenting").fadeOut("slow");});$("a.lm2").click(function(){var cssObj={"z-index":"500"};$("#coverpage").css(cssObj);$("#coverpage").fadeTo("slow",0.8);$("#dashboard").fadeIn("slow");});$("a.lm2close").click(function(){$("#coverpage").fadeTo("slow",0,function(){var cssObj={"z-index":"0"};$("#coverpage").css(cssObj);});$("#dashboard").fadeOut("slow");});$("a.lm3").click(function(){var cssObj={"z-index":"500"};$("#coverpage").css(cssObj);$("#coverpage").fadeTo("slow",0.8);$("#versioning").fadeIn("slow");});$("a.lm3close").click(function(){$("#coverpage").fadeTo("slow",0,function(){var cssObj={"z-index":"0"};$("#coverpage").css(cssObj);});$("#versioning").fadeOut("slow");});$("#coverpage").click(function(){if($(this).css("z-index")>0){$("#coverpage").fadeTo("slow",0,function(){var cssObj={"z-index":"0"};$("#coverpage").css(cssObj);});$("#commenting").fadeOut("slow");$("#dashboard").fadeOut("slow");$("#versioning").fadeOut("slow");}});$("a.emp1").click(function(){$("#pop-container").css({left:"150px"});$("#pop-container").css({top:"230px"});$("#pop-container").load("ajax_html/about-frid-nielsen.html");});$("a.emp2").click(function(){$("#pop-container").css({left:"350px"});$("#pop-container").css({top:"230px"});$("#pop-container").load("ajax_html/about-huang.html");});$("a.emp3").click(function(){$("#pop-container").css({left:"150px"});$("#pop-container").css({top:"300px"});$("#pop-container").load("ajax_html/about-boye.html");});$("a.emp4").click(function(){$("#pop-container").css({left:"350px"});$("#pop-container").css({top:"300px"});$("#pop-container").load("ajax_html/about-gunnerson.html");});$("a.emp5").click(function(){$("#pop-container").css({left:"150px"});$("#pop-container").css({top:"360px"});$("#pop-container").load("ajax_html/about-wood.html");});$("a.emp6").click(function(){$("#pop-container").css({left:"350px"});$("#pop-container").css({top:"360px"});$("#pop-container").load("ajax_html/about-brown.html");});$("a.emp7").click(function(){$("#pop-container").css({left:"350px"});$("#pop-container").css({top:"360px"});$("#pop-container").load("ajax_html/about-quigley.html");});$("a.emp8").click(function(){$("#pop-container").css({left:"350px"});$("#pop-container").css({top:"360px"});$("#pop-container").load("ajax_html/about-stewart.html");});$("a.emp9").click(function(){$("#pop-container").css({left:"350px"});$("#pop-container").css({top:"360px"});$("#pop-container").load("ajax_html/about-stern.html");});$("a.emp10").click(function(){$("#pop-container").css({left:"350px"});$("#pop-container").css({top:"360px"});$("#pop-container").load("ajax_html/about-gorman.html");});$("a.compare").click(function(){$("#pop-container").css({left:"50%"});$("#pop-container").css({"margin-left":"-250px"});$("#pop-container").css({top:"100px"});$("#pop-container").load("ajax_html/compare-plans.html");});$("a.instpc").click(function(){var cssObj={"z-index":"500"};$("#coverpage").css(cssObj);$("#coverpage").fadeTo("slow",0.8);$("#controlitall").fadeIn("slow");});$("a.lm1close").click(function(){$("#coverpage").fadeTo("slow",0,function(){var cssObj={"z-index":"0"};$("#coverpage").css(cssObj);});$("#controlitall").fadeOut("slow");});});$(document).ready(function(){});function MM_preloadImages(){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 mmsir(){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_findObj(n,d){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&&d.getElementById){x=d.getElementById(n);}return x;}function mmsi(){var i,j=0,x,a=mmsi.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 pr(){MM_preloadImages("images/works_1_ovr.jpg","images/works_2_ovr.jpg","images/works_3_ovr.jpg","images/works_4_ovr.jpg","images/works_5_ovr.jpg","images/nav/whysoonr.jpg","images/nav/reseller.jpg","images/nav/extras.jpg","images/nav/press.jpg","images/nav/signup.jpg");}function openwin(URL,theHeight,theWidth,addScroll){var nXpos=(screen.availWidth-theWidth)/2;var nYpos=(screen.availHeight-theHeight)/2;var win=window.open(URL,"popupWin","top="+nYpos+",left="+nXpos+",screenY="+nYpos+",screenX="+nXpos+",height="+theHeight+",width="+theWidth+"toolbar=0,scrollbars="+addScroll+",location=0,statusbar=0,menubar=0");win.focus();}function externalLinks(){if(!document.getElementsByTagName){return;}var anchors=document.getElementsByTagName("a");for(var i=0;i<anchors.length;i++){var anchor=anchors[i];if(anchor.getAttribute("href")&&anchor.getAttribute("rel")=="external"){anchor.target="_blank";}}}function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!="function"){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();}func();};}}addLoadEvent(externalLinks);addLoadEvent(pr);var ImageStack=new Object();ImageStack.makeStack=function(name,element1,element2,element3,element4,element5,element6,element7){if(!ImageStack.elements){ImageStack.elements=new Object;}ImageStack.elements[name]=new Array(element1,element2,element3,element4,element5,element6,element7);};ImageStack.mouseover=function(element,hoverImage){var image=document.getElementById(element);if(!image.getAttribute("preonsrc")){image.setAttribute("prehighlightsrc",image.src);image.src=hoverImage;}};ImageStack.mouseout=function(element){var image=document.getElementById(element);if(!image.getAttribute("preonsrc")&&image.getAttribute("preHighlightSrc")){image.src=image.getAttribute("prehighlightsrc");image.removeAttribute("prehighlightsrc");}};ImageStack.activate=function(name,elementToActivate,activeImage){var imagestack=ImageStack.elements[name];if(!imagestack){return;}for(var i=0;i<imagestack.length;i++){var element=imagestack[i];if(!element){continue;}var image=document.getElementById(element);if(image.getAttribute("preonsrc")){image.src=image.getAttribute("preonsrc");image.removeAttribute("preonsrc");}else{if(image.getAttribute("preHighlightSrc")){image.src=image.getAttribute("prehighlightsrc");image.removeAttribute("prehighlightsrc");}}}var imageToActivate=document.getElementById(elementToActivate);imageToActivate.setAttribute("preonsrc",imageToActivate.src);imageToActivate.src=activeImage;};var Stack=new Object();Stack.makeStack=function(name,element1,element2,element3,element4,element5,element6,element7){if(!Stack.elements){Stack.elements=new Object;}Stack.elements[name]=new Array(element1,element2,element3,element4,element5,element6,element7);};Stack.activate=function(name,elementToActivate){var stack=Stack.elements[name];if(!stack){return;}for(var i=0;i<stack.length;i++){var element=stack[i];if(!element){continue;}document.getElementById(element).style.display="none";}for(var i=0;i<stack.length;i++){var element=stack[i];if(!element){continue;}else{if(element==elementToActivate){document.getElementById(element).style.display="block";}}}};