var myWidth = 0, myHeight = 0;
function findWindowSize() {
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
}
function resize()
{
findWindowSize();
document.getElementById("footer").style.display="block";

if(myHeight <= 700)
{
document.getElementById("footer").style.top= '700px';
document.getElementById("flash").style.height= '700px';
document.getElementById("certificate").style.top= '700px';
document.getElementById("pst").style.top= '700px';



}
else
{
document.getElementById("footer").style.top= '100%';
document.getElementById("flash").style.height= '100%';
document.getElementById("certificate").style.top= '100%';
document.getElementById("pst").style.top= '100%'
}

if(myWidth <= 700)
{
	document.getElementById("pst").style.left= '5px';
}
else if(myWidth <= 1024 && myWidth > 700)
{
	document.getElementById("pst").style.left= '5%';
}
else
{
	document.getElementById("pst").style.left= '12%';
}

if(myWidth < 1024)
{
	document.getElementById("flash").style.width= '1024px';
	document.getElementById("certificate").style.left= '1024px';
	document.getElementById("footerlink").style.left= '512px';
	

}
else
{
	document.getElementById("flash").style.width= '100%';
	document.getElementById("certificate").style.left= '100%';
	document.getElementById("footerlink").style.left= '50%';

}



}

function display()
{
//document.getElementById("footer").style.visibility= 'visible';
//document.getElementById("certificate").style.visibility= 'visible';
//document.getElementById("pst").style.visibility= 'visible';
	
}



