documentReady("afterResize");
function afterResize()
{
	var winwidth = document.all ? document.body.clientWidth : window.innerWidth;
    var winHeight = document.all ? document.body.clientHeight : window.innerHeight;
    
	  // alert("resize code " + winwidth);
    if (winwidth <= 1000) 
	{
		//alert('1024');
        jQuery("#footer, #header, #pageContainer").css("width", "1024px");
    }
    else 
	{
		//alert('100%');
		jQuery("#footer, #header, #pageContainer").css("width", "100%");
    }
}

/*
documentReady("callPNG");
function callPNG()
{
	alert('callPng fix in resice')
	if(pngfix != null)
	{
		alert('aboout to call');
		pngfix();
		alert('adding class');
		jQuery("#globalNav").css("height", "0px");
		jQuery("#globalNav").css("overflow", "hidden");
		
		jQuery("#globalNav > ul > li > a").css("height", "0px");
		jQuery("#globalNav > ul > li > a").css("overflow", "hidden");
		
	}else
	{
		alert('png fix null');
	}	
}

*/
