	function fixLayout(){
		if(isIE(6)){
			document.getElementById('main_menu').style.marginRight='45px'
		}/*
		if(!isIE()){
			document.getElementById('part_1').style.marginTop='0px;'
			document.getElementById('part_2').style.marginTop='0px;'
		}
		if(document.getElementById('g_content')){
			rc=document.getElementById('highlight')
			cc=document.getElementById('g_content')
			//alert(cc.scrollHeight)
			nc=document.getElementById('main_menu')
			if(nc.scrollHeight>cc.scrollHeight){
				cc=nc;
			}
			top_space=document.getElementById('top_div').scrollHeight+document.getElementById('top_nav').scrollHeight+13;
			//diff=cc.scrollHeight-rc.scrollHeight+top_space;
			//rc.style.marginTop=((-1)*top_space)+"px";
						
			//rc.style.marginTop=((-1)*top_space)+"px";
			if(isIE()){	
				//rc.style.paddingTop=(((1)*top_space)-14)+"px";//"-14px";			//rc.style.paddingTop=(document.getElementById('top_div').scrollHeight+document.getElementById('top_nav').scrollHeight-4)+"px";

			}else{
				//rc.style.paddingTop=(((1)*top_space))+"px";
			}
			m_height=cc.scrollHeight;
			
			if(cc.scrollHeight > nc.scrollHeight){
				nc.style.height=(cc.scrollHeight)+"px";
				
			}

			/*rc.style.paddingTop=(document.getElementById('top_div').scrollHeight+document.getElementById('top_nav').scrollHeight+10-document.getElementById('div_search').scrollHeight)+"px";
			//document.getElementById('div_search').paddingBottom='13px';
			}
			if(cc.scrollHeight+top_space>rc.scrollHeight){
					document.getElementById('g_right').style.height=(cc.scrollHeight+top_space-parseInt(rc.style.paddingTop))+"px";
			
			}
			
		}	*/	
	}

	function isIE(ver){
		if(!ver){
			pos=(navigator.appVersion.indexOf("MSIE"));
			return pos>=0
			//return document.all;
		}
		else{
			if (document.all){
				pos=(navigator.appVersion.indexOf("MSIE"));
				mver=parseInt(navigator.appVersion.substr(pos+5))
				return mver== ver
			}
		}
		return false;
	}
	
	function closeSample()
	{
		document.getElementById('sample_close').style.display='none';
		document.getElementById('my_body').style.marginLeft='auto';
		document.getElementById('my_body').style.marginRight='auto';
		return false
	}
	function m_open(u,w,h){
    	x=window.open(u,'m_win','location=no,width='+(w+25)+',height='+(h+30)+',menu=0,top=25,left=25,resizable=1,scrollbars=0');
        x.focus();
    }
