// JavaScript Document
// Vlad Hernandez @ Razorback Media
function alertSize() {
	var myWidth = 0, myHeight = 0, minW = 945, minH = 650;
	if( typeof( window.innerWidth ) == 'number' ) {
		myWidth = window.innerWidth; myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth ||document.documentElement.clientHeight ) ) {
		myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		myWidth = document.body.clientWidth; myHeight = document.body.clientHeight;
	}

	if (myWidth < minW ) {
		myWidth = minW + 10;
		myHeight = minH + 50;
		//window.alert( 'Width = ' + myWidth + ' and height = ' + myHeight );
		window.resizeTo(myWidth, myHeight);
	} else {
		//window.alert ("no change");
		return;
	}
	//window.alert( 'Width = ' + myWidth + ' and height = ' + myHeight );
}