/*	Initialization function  */

	window.addEvent('domready',function(){	
			
		/*	Do browser specific adjustments */
	
			doBrowserChecks();
			
		/*	Do JavaScript powered element dimension adjustements */
		
			doSizeAdjustments();
			
		/*	Run slideshow if exists */
		
			
			if($('homepageSlideshow')){
				
				slideshow=new Slideshow('homepageSlideshow',slideshowData,{'hu':'/wp-content/uploads/','width':850,'height':240});
				slideshow.pause();
				slideshowMove();
				slideshowMove.periodical(6000);
			
			}
					
	});
	
/*	Browser checks */

	function doBrowserChecks(){
		
		if(Browser.Engine.trident){}
		else if(Browser.Engine.gecko){}
		else if(Browser.Engine.webkit){}
		else if(Browser.Engine.presto){}
		else{}
		
	}

/*	Size adjustments */

	function doSizeAdjustments(){
	
		var w=window.getCoordinates(),d=document.getCoordinates();
	
	}
	
/*	Slideshow */

	var slideshowCurrentIndex=0;
	function slideshowMove(){
	
		slideshow.go(slideshowCurrentIndex);
		$('slideshowTitle').set('text',slideshowInfo[slideshowCurrentIndex][0]);
		$('slideshowContents').set('text',slideshowInfo[slideshowCurrentIndex][1]);
		slideshowCurrentIndex++;
		if(slideshowCurrentIndex==slideshowInfo.length) slideshowCurrentIndex=0;
	
	}

/*	Submit form */

	function submitForm(F){
	
		var data=getFormData(F);
		if(!data){
			alert('Please provide the required fields');
			return;
		}
		
		F.submit();
		
	}

/*      Facebook */
        function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}
	
/*	Demo form */

	eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('v A(a){3=d.w;g(e i=0;i<3.B;i++){o=3.C[i];e b=o.D.p(a);7(b!=-1){7(o.E){6 x}}}6 f}v F(){3=d.w;y=3.h.4.p(".");z=3.h.4.p("@");7(y==-1||z==-1){j("k l a G H I.");3.h.m();3.h.n();6 f}2=d.q("r[8]");e a=2[2.c].4;7(2.c==-1||a==""){j("k l a 4 g s \'t J K\' u.");2.m();2.n();6 f}2=d.q("r[9]");e a=2[2.c].4;7(2.c==-1||a==""){j("k l a 4 g s \'t L M\' u.");2.m();2.n();6 f}2=d.q("r[5]");e a=2[2.c].4;7(2.c==-1||a==""){j("k l a 4 g s \'t N O\' u.");2.m();2.n();6 f}6 x}',51,51,'||valcheck|theFrm|value||return|if|||||selectedIndex|document|var|false|for|Email||alert|Please|enter|focus|select|fldObj|indexOf|getElementById|Fields|the|EJS|field|function|frmSS|true|hasDot|hasAt|CheckMultiple|length|elements|name|checked|CheckSS|valid|email|address|Company|Size|Licenses|Needed|Subscriber|Type'.split('|'),0,{}));

