function MM_openBrWindow(theURL,winName,features) { //v2.0
ending=window.open(theURL,winName,features);
ending.moveTo(0,0);ending.focus();
if (window.screen) ending.resizeTo(screen.availWidth,screen.availHeight);
}

function callanimation() {
	if (window.screen) {
    	w = Math.floor(screen.availWidth);
    	h = Math.floor(screen.availHeight);
		if(parseInt(h) <= 480)
		{
		  MM_openBrWindow('outro640.html','ending','status=yes,width=417,height=280');
		}
		else
		{
		  MM_openBrWindow('outro.html','ending','status=yes,width=700,height=500');
		}
	}
	else
	{
	  MM_openBrWindow('outro.html','ending','status=yes,width=700,height=500');
	}

}
