// JavaScript Document
var myWidth = 630;
var myHeight = 460;

function setSize() {
	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;
	}
//	window.alert( 'Width = ' + myWidth + ' and height = ' + myHeight );
}


function disappear(frame,show){

	xkereses = document.getElementById("kereses");
	xTD_kereses = document.getElementById("TD_kereses");
	xcikk = document.getElementById("cikk");
	xTD_cikk = document.getElementById("TD_cikk");
	xtalalat = document.getElementById("talalat");
	xTD_talalat = document.getElementById("TD_talalat");

if (frame=="right"){
	if(show){
			kereses.fullwidth=false;
//			kereses.chbutton();
			xTD_talalat.style.visibility = "visible";
			xtalalat.style.display= "inline";
			xTD_cikk.style.visibility = "visible";
			xcikk.style.display= "inline";
			xTD_kereses.style.width="368px";
			xkereses.style.width="358px";
	} else {
			kereses.fullwidth=true;
//			kereses.chbutton();
			xTD_talalat.style.visibility = "hidden";
			xtalalat.style.display= "none";
			xTD_cikk.style.visibility = "hidden";
			xcikk.style.display= "none";
			xTD_kereses.style.width="100%";
			xkereses.style.width="100%";
	}
}



if (frame=="kereses"){
	if(show){
		talalat.fullwidth=false;
//		talalat.chbutton(); 
		cikk.fullwidth=false;
//		cikk.chbutton();
		xTD_kereses.style.visibility="visible";
		xkereses.style.width = "358px";
		xkereses.style.display = "inline";
		xTD_talalat.style.width="632px";
	} else {
		talalat.fullwidth=true;
//		talalat.chbutton();
		cikk.fullwidth=true;
//		cikk.chbutton();
		xTD_kereses.style.visibility="hidden";
		xkereses.style.display = "none";
		xTD_talalat.style.width="100%";
		xtalalat.style.width="100%";
	}
}

if (frame=="talalat"){
	if(show){
		cikk.fullheight=false;
//		cikk.chbutton();
		xtalalat.style.display="inline";
		xTD_talalat.style.height="260px";
	} else {
		cikk.fullheight=true;
//		cikk.chbutton();
		xtalalat.style.display="none";
		xTD_talalat.style.height="0px";
	}
}


if (frame=="cikk"){
	if(show){
		talalat.fullheight=false;
//		talalat.chbutton();
		xcikk.style.display="inline";
		xTD_talalat.style.height="260px";
		xtalalat.style.height="250px";
	} else {
		talalat.fullheight=true;
//		talalat.chbutton();
		xcikk.style.display="none";
		xTD_talalat.style.height="100%";
		xtalalat.style.height="100%";
	}
}

} // function disappear




