function setsize() {
 var CurrentWidth, CurrentHeight;
 if (self.innerHeight) // all except Explorer
 {
	CurrentWidth = self.innerWidth;
	CurrentHeight = self.innerHeight;
 }
 else if (document.documentElement && document.documentElement.clientHeight)
	// Explorer 6 Strict Mode
 {
	CurrentWidth = document.documentElement.clientWidth;
	CurrentHeight = document.documentElement.clientHeight;
 }
 else if (document.body) // other Explorers
 {
	CurrentWidth = document.body.clientWidth;
	CurrentHeight = document.body.clientHeight;
 }
 LayerTop = 2;
 LayerLeft = 2;
 if( CurrentHeight > 615 )
 {
   LayerTop = ( CurrentHeight - 615 ) / 2;
 }
 if( CurrentWidth > 900 )
 {
   LayerLeft = ( CurrentWidth - 900 ) / 2;
 }
 document.all.main.style.left=LayerLeft;
 document.all.main.style.top=LayerTop;
}

function show(url) {
  parent.contentframe.location.href = url;
}