
$(document).ready(function(){
	
	//png fix;
    $(document).pngFix();
	
	//fonts replace;
	Cufon.replace('.navbar a');
	Cufon.replace('h2');
	Cufon.replace('#register li label');
	
	//image rotator
	 $('#slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
	
	


});
 
 
function getReivew(div_id)
{
	var x=document.getElementById(div_id)
	x.style.display=(x.style.display)==''? 'none':x.style.display;
  	if (x.style.display=='none'){
		x.style.display = 'block';
	}else{
		x.style.display = 'none';
	}	
}

function winpop(url,name,sizex,sizey)
{
        newwin = window.open(url, name, "width=" + sizex + ",height=" + sizey + ",toolbar=no,location=no,directories=no,status=0,resizable=no,scrollbars=auto,menubar=no");
newwin.moveTo(((screen.width/2)-(sizex/2)),((screen.height/2)-(sizey/2)));
}