$(document).ready( 
	function(){ 
		$('#fader').innerfade(	{ 
			animationtype: 'fade', 
			speed: 'slow',
			timeout: 11000, 
			type: 'random', 
			containerheight: '65px',
			runningclass: 'innerfade'
		}); 
	} 
	
);


function OpenWindow(URL, width, height){
 window.open (URL,"anyName","toolbar=yes,location=yes,scrollbars=yes,width=" + width + ",height=" + height + ",personalbar=yes,directories=yes,menubar=yes,titlebar=yes,resizable=yes,left="+parseInt((screen.availWidth-width)/2)+",top="+parseInt((screen.availHeight-height)/2)+"");
 return false;
}
			 
function changeImages() {
	if (document.images) {
		for (var i=0; i< changeImages.arguments.length; i+=2) {
			if (document[changeImages.arguments[i]] != null)
				document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}
function OpenWindowSelfResize(URL){
 width = 400;
 height = 400;
 window.open (URL,"anyName","toolbar=no,location=no,scrollbars=no,width=400,height=400,personalbar=no,directories=no,menubar=no,titlebar=no,resizable=yes,left="+parseInt((screen.availWidth-width)/2)+",top="+parseInt((screen.availHeight-height)/2)+"");
 return false;
}		
