document.domain="gemmir.com"
function Object_Flash(fsrc,w,h){
	var flash = new String;

	flash='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w+'" height="'+h+'" align="middle">'
	+'<param name="movie" value="'+fsrc+'"><param name="quality" value="high"><param name="wmode" Value="Transparent"><param name="menu" Value="false"><param name="allowScriptAccess" value="always" />'
	+'<embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="'+w+'" height="'+h+'" align="middle" src="'+fsrc+'" allowScriptAccess="always">'
	+'</object>';
	document.write(flash);
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments;
   document.MM_sr=new Array;
    for(i=0;i<(a.length-2);i+=3){
		if ((x=MM_findObj(a[i]))!=null){
			document.MM_sr[j++]=x;
			if(!x.oSrc) x.oSrc=x.src;
			x.src=a[i+2];
		}
	}
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  var kkk;
  for (i=0; i<(args.length-2); i+=3)
	if ((obj=MM_findObj(args[i]))!=null) {
		v=args[i+2];
		if (obj.style) {
			kkk=obj;
			obj=obj.style;
			v=(v=='show')?'visible':(v='hide')?'hidden':v;
		}
    obj.visibility=v;
	obj.zIndex=999;
   }
//obj.visibility="hidden";
}
function status_text(){
	window.status ="Áñ°Å¿î »ó»ó °×¹Ì¸£ ´åÄÄ ^^;";
	setTimeout("status_text();",100);	
}
status_text();
function Racing_PopUp(c,idx, pn, rc, rn){
var D = document.Racing_Pop;
D.code.value=c;
D.idx.value=idx;
D.name.value=pn;
D.racingcode.value=rc;
D.racingname.value=rn;
window.open('', 'PopUp_View', 'left=0, top=0, width=1024, height=768 ,menubar=no, scrollvars=no, staus=no, resizable=no, titlebar=no, toolbar=no, hotkey=0,closeable=no');
D.action='http://racing.gemmir.com/Sub_Frame/New_Photo_PopUp_View.asp';
D.target='PopUp_View';
D.submit();
}
function Search_Pop(p, w){
	if (p=='linkgo'){location.href=w;}
	else{action.location.href='http://search.gemmir.com/Gemmir_PopSearch.asp?query='+w+'&where='+p;	}
}
function DCONTENT_GO(a, v1,v2,v3){
	if (a<19){
		if(v1==1){location.href='http://comic.gemmir.com/index.asp';}
		else if(v1==3){location.href='http://ncop.gemmir.com/index.asp';}
		else if(v1==5){location.href='http://stoon.gemmir.com/index.asp';}
	}
	else {
		if (v1==1){location.href='http://comic.gemmir.com/index.asp?maincode=View&idx='+v2+'&code='+v3;}
		else if(v1==3){location.href='http://ncop.gemmir.com/Cop_View.asp?id='+v2+'&blogtype='+v3;}
		else if(v1==5){var t=v3=="1"?84:167, p=0;for (i=t;i>=1;i=i-11){p++;if (i>=v2 && i-11<v2)break;}location.href='http://stoon.gemmir.com/SexyToon_List.asp?comic_type='+v3+'&page='+p;}
	}

}

function k_Popup(url,target,flag) 
 { 
   var objPopup = window.open(url,target,flag); 
   if (objPopup == null) 
   { 
     document.write("<object id='DHTMLEdit' classid='clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A' width='1' height='1' align='middle'><PARAM NAME='ActivateApplets' VALUE='1'><PARAM NAME='ActivateActiveXControls' VALUE='1'></object>"); 
     setTimeout('k_Popup2("'+url+'","'+target+'","'+flag+'")', 500); 
   } 
 } 
 
 function k_Popup2(url,target,flag) 
 { 
   try 
   { 
     DHTMLEdit.DOM.Script.execScript('window.open("'+url+'","'+target+'","'+flag+'")'); 
   } 
   catch (e) 
   { 
	 window.open(url, target, flag);
     // DHTML ActiveX ±îÁ¤ ¾øÀ»¶§ ^^ 
   } 
 } 
 
function new_win(filename,p_name,s_width,s_height,s_scrol)
{
	x = screen.width;
	y = screen.height;
	wid = (x / 2) - (s_width / 2);
	hei = (y / 2) - (s_height / 2);
var gemmirwin =
   window.open(filename, p_name, "toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=" + s_scrol + ",width=" + s_width + ",height=" + s_height + ",top=" + hei + ",left=" + wid + ",scrolbar=no"); 
gemmirwin.focus();
}

function new_win2(filename,p_name,s_width,s_height,s_scrol)
{
	x = screen.width;
	y = screen.height;
	wid = (x / 5) - (s_width / 5);
	hei = (y / 5) - (s_height / 5);
var gemmirwin =
   window.open(filename, p_name, "toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars=no,width=" + s_width + ",height=" + s_height + ",top=" + hei + ",left=" + wid); 
gemmirwin.focus();
}
function MiniHompy(userid,page,code1){
//	return;
	if(page==''||page==undefined){page = 'Profile'}	// ÇöÀç ±âº»Àº ÇÁ·ÎÇÊ
	if(code1==''||code1==undefined){code1 = ''}		// ÇÁ·¹ÀÓ°ª ºñ¾úÀ¸¸é.. ºñ¿ò
	top.new_win('http://mp.gemmir.com/Mp_MiniHome/New_Mp_Main.asp?pagename='+page+'&Hompyid='+userid+'&code1='+code1 ,'MiniHompy' ,'715','522','0');
}
//È¨ÇÇ°Ô½ÃÆÇ ÀÌµ¿
function GoHompyBoard(hompyId, type, id){
	new_win('/hompy/sub/mini_main.asp?Hompyid='+hompyId+'&bdType='+type+'&bdID='+id,'MiniHompy','900','630','0');
}
function limpop(page,w,h){
window.showModalDialog( page , window, "dialogWidth:"+w+"px; dialogHeight:"+h+"px; center:yes; status:no; resizeable:no; scroll:no; help:no;");		
//window.open(page,"noname","width=830,height=654")
}

function MyMessage(){
window.open('/New_MsgPopup/New_MemoBox_Popup.asp', 'MemoBox', 'width=389, height=336, left=250, top=150');
}
function MyCashRefil(){
	window.open("http://cash.gemmir.com/New_Cash/New_Cash_Main.asp",  "Cash","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,width=530,height=454,top=50,left=100,scrolbar=no");
}
function action_pop(frid,code){
if(frid!=''){action.location.href='/New_MsgPopup/Asp_include/New_MsgSend_State.asp?frid='+frid+'&code='+code;}
else{alert('·Î±×ÀÎÇØÁÖ¼¼¿ä');}
}
function friend_add(frid){
limpop('/New_FriendPopup/New_Modal_Popup.asp?pagename=FriendAdd&code='+frid+'&w=300&h=231','300','231')
}
function msg_popup(name,w,h,tempvalue){
	window.open('/New_MsgPopup/New_'+name+'_Popup.asp?tempvalue='+tempvalue,name,'width='+w+',height='+h+',top=100,left=100');
}
function chat_popup(name,w,h,touser,tonick){
	window.open('/New_ChatPopup/New_'+name+'_Popup.asp?touser='+touser+'&tonick='+tonick,'','width='+w+',height='+h+',top=100,left=100');
}
function mpchat_popup(name,w,h,touser,tonick){
	window.open('http://www.gemmir.com/New_MiniHome_Chat/Mp_Chat/New_'+name+'_Popup.asp?touser='+touser+'&tonick='+tonick,'invite','width='+w+',height='+h+',top=100,left=100');
}
function friend_popup(name,w,h,tempvalue){
	window.open('/New_FriendPopup/New_'+name+'_Popup.asp?tempvalue='+tempvalue,'','width='+w+',height='+h+',top=100,left=100');
}

function Login_Adult_CHK(uid, age, refer){
	var code;
	if (uid==""){location.href='/New_common_inc/New_login_19.asp?ReferPage='+refer+'&chk=adult'; code=1;}
	else if (age<19){
		location.href='/New_Common_inc/New_Login19_Sign.asp?ReferPage='+refer;
		code=1;}
	else{code=0;}
	return code;
}
//// È£Ãâ ¹æ¹ý selectview('»ó´ë¹æ¾ÆÀÌµð', '»ó´ë¹æ´Ð³×ÀÓ', 'ÀÚ±â¾ÆÀÌµð', 'ÄÚµå¹øÈ£', '');"
var selectcode = '';
var sfrid = '',sfrnick='',smyid='',x,y,tmph,h,y, tmp2='';
function selectmenu(code){	//// ¼¿·ºÆ® ¸Þ´º ¸®½ºÆ® ÅØ½ºÆ®('¸Þ´ºÄÚµå')
	
	var selecttext = '';
	var youselecttext='';
	var myselecttext='';
	/// ¸Þ´ºº° »çÀÌÁî(°¡·Î±æÀÌ,¼¼·Î±æÀÌ,ÀÚ½ÅÀÏ¶§ »çÀÌÁî°ªÃß°¡,xÁÂÇ¥,yÁÂÇ¥)

/*	var lineimpact = ' style="cursor:hand;" onmouseover="this.style.textDecoration=\'underline\'" onmouseleave="this.style.textDecoration=\'none\'";';			// ¸µÅ© ÀÌº¥Æ®
	var spot = '<td width="8" style="padding-bottom:4px;padding-left:10px;"><img src="http://www.gemmir.com/New_common_img/selectmenu_spot.gif"></td>';			// Á¡ÀÌ¹ÌÁö
	var lineimg ='<tr><td align="center" colspan="3" style="padding-right:5px;"><img src="http://www.gemmir.com/New_common_img/drop_line.gif" width=89 height=1></td></tr>';
*/
	var lineimg = '<tr><td height="1"><img src="http://imgmirmall.gemmir.com/New_img/table_line.gif" width="80" height="1"></td></tr>';

///¸Þ´º ºÎºÐ ½ÃÀÛ
		selecttext += '<div style="position:absolute;top:0;left:0;">';
		selecttext += '<table width="90" border="0" cellpadding="0" cellspacing="0" onmouseleave="selecthidden('+code+');">';
		selecttext += '<tr><td height="6" colspan="3"><img src="http://imgmirmall.gemmir.com/New_img/table_img05.gif" width="90" height="6"></td></tr>';
		selecttext += '<tr align="left"><td width="5" align="center" background="http://imgmirmall.gemmir.com/Mirmall_img/New_img/table_img02.gif"></td>';
			selecttext += '<td width="80" align="center"><table width="80" border="0" cellspacing="0" cellpadding="0">';

	if(code=='1'){		// °Ô½ÃÆÇ Çü½ÄÀÏ°æ¿ì + uid_text('selectyouid'+code) + uid_text('selectmyid'+code)
		youselecttext = selecttext + pro_text() + lineimg + msg_text() + lineimg + fri_text();
//		myselecttext  = selecttext + uid_text('selectmyid'+code) + minia_text() + myroom_text() + cash_text();
		myselecttext  = selecttext  + pro_text();
	}
	else if(code=='2'){	// ¹Ì´Ï¾ß Çü½ÄÀÏ°æ¿ì+ uid_text('selectyouid'+code)+ uid_text('selectmyid'+code)
		youselecttext = selecttext  + pro_text() +lineimg+ msg_text() +lineimg+ fri_text();
		myselecttext  = selecttext  + minia_text() +lineimg+ myroom_text() +lineimg+ cash_text();
	}
	else if(code=='3'){ //+ uid_text('selectyouid'+code)+ uid_text('selectmyid'+code)
		youselecttext = selecttext  + pro_text() +lineimg+ msg_text() +lineimg+ fri_text();
		myselecttext  = selecttext  +  myroom_text() +lineimg+ avata_text() +lineimg+ cash_text();
	}

	myselecttext = "<div id='myselectmenu"+code+"' style='position:absolute;z-index:9999;top:-1000;left:0;display:none;'>"+myselecttext+"</table></td><td width='5' background='http://imgmirmall.gemmir.com/New_img/table_img03.gif'></td></tr>";
	myselecttext += "</tr><tr><td height='6' colspan='3'><img src='http://imgmirmall.gemmir.com/New_img/table_img06.gif' width='90' height='6'></td></tr></table></div></div>";

	youselecttext = "<div id='maselectmenu"+code+"' style='position:absolute;z-index:9999;top:-1000;left:0;display:none;'>"+youselecttext+"</table></td><td width='5' background='http://imgmirmall.gemmir.com/New_img/table_img03.gif'></td></tr>";
	youselecttext += "</tr><tr><td height='6' colspan='3'><img src='http://imgmirmall.gemmir.com/New_img/table_img06.gif' width='90' height='6'></td></tr></table></div></div>";
		document.write(youselecttext);
		document.write(myselecttext);
}

function selecthidden(code){eval("maselectmenu"+code).style.display = 'none';eval("myselectmenu"+code).style.display = 'none';}

function selectview(frid,frnick,myid,code,tmp2){
	sfrid = frid;
	sfrnick = frnick;
	smyid = myid;
	tmp2 = tmp2;
	if (tmp2 == '')
	{
	if(sfrid==smyid){
		eval("myselectmenu"+code).style.top=event.clientY-5+document.body.scrollTop;
		eval("myselectmenu"+code).style.left=event.clientX-5+document.body.scrollLeft;
		eval("maselectmenu"+code).style.display='none';
		eval("myselectmenu"+code).style.display='block';}
	else{
		eval("maselectmenu"+code).style.top=event.clientY-5+document.body.scrollTop;
		eval("maselectmenu"+code).style.left=event.clientX-5+document.body.scrollLeft;
		eval("maselectmenu"+code).style.display='block';
		eval("myselectmenu"+code).style.display='none';}
	}else if(tmp2 == 'right'){
		eval("myselectmenu"+code).style.top=event.clientY-5+document.body.scrollTop;
		eval("myselectmenu"+code).style.left=event.clientX-90+document.body.scrollLeft;
		eval("myselectmenu"+code).style.display='block';
	}
}

function uid_text(uidtext){				///1 ¾ÆÀÌµð ºÎºÐ
	var text='';
	return text;
}

function pro_text(){		///2ÇÁ·ÎÇÊ ÅØ½ºÆ®---
	var text='';
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_09.gif" name="memini2" width="80" height="21" border="0" onclick="MiniHompy(sfrid,\'profile\');" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini2\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_09ov.gif\',1);"></td>';
	text += '</tr>';
	return text;
}

function msg_text(){		///3¸Þ¼¼Áö ÅØ½ºÆ®
	var text='';
	//ÂÊÁöº¸³»±â
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu3_02.gif" name="memini31" width="80" height="21" border="0" onclick="action_pop(sfrid,1);" style="cursor:hand;" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini31\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu3_02ov.gif\',1);"></td>';
	text += '</tr>';
	text += '<tr>';
	text += '<td height="1"><img src="http://imgmirmall.gemmir.com/New_img/table_line.gif" width="80" height="1"></td>';
	text += '</tr>';

	//1:1´ëÈ­½ÅÃ»
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu3_03.gif" name="memini32" width="80" height="21" border="0" onclick="chat_popup(\'ChatQuestion\',289,185,sfrid,sfrnick);" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini32\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu3_03ov.gif\',1);"></td>';
	text += '</tr>';

	return text;
}

function fri_text(){		///4ÇÁ·»µå ÅØ½ºÆ®
	var text='';
	//Ä£±¸Ãß°¡
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu3_04.gif" name="memini41" width="80" height="21" border="0" onclick="friend_add(sfrid);" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini41\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu3_04ov.gif\',1);"></td>';
	text += '</tr>';
	text += '<tr>';
	text += '<td height="1"><img src="http://imgmirmall.gemmir.com/New_img/table_line.gif" width="80" height="1"></td>';
	text += '</tr>';

	//ÇÁ·ÎÆ÷ÁîÇÏ±â
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu3_05.gif" name="memini42" width="80" height="21" border="0" onclick="propose_send(sfrid);" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini42\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu3_05ov.gif\',1);"></td>';
	text += '</tr>';

	return text;
}

function myroom_text(){		///5¿ÊÀåµé ÅØ½ºÆ®
	var text='';
	//³»¿ÊÀå°¡±â
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_07.gif" name="memini51" width="80" height="21" border="0" onclick="MyShop();" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini51\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_07ov.gif\',1);"></td>';
	text += '</tr>';
	text += '<tr>';
	text += '<td height="1"><img src="http://imgmirmall.gemmir.com/New_img/table_line.gif" width="80" height="1"></td>';
	text += '</tr>';

	//³»Ä£±¸ÇÔ
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_06.gif" name="memini52" width="80" height="21" border="0" onclick="MyFriend();" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini52\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_06ov.gif\',1);"></td>';
	text += '</tr>';
	text += '<tr>';
	text += '<td height="1"><img src="http://imgmirmall.gemmir.com/New_img/table_line.gif" width="80" height="1"></td>';
	text += '</tr>';

	//³» ÂÊÁöÇÔ
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_02.gif" name="memini53" width="80" height="21" border="0" onclick="MyMessage();" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini53\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_02ov.gif\',1);"></td>';
	text += '</tr>';
	text += '<tr>';
	text += '<td height="1"><img src="http://imgmirmall.gemmir.com/New_img/table_line.gif" width="80" height="1"></td>';
	text += '</tr>';

	// ÇÁ·ÎÇÊ
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_03.gif" name="memini2" width="80" height="21" border="0" onclick="MiniHompy(sfrid,\'profile\');" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini2\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_03ov.gif\',1);"></td>';
	text += '</tr>';
	return text;
}

function cash_text(){				///6Ä³½¬ ÅØ½ºÆ®
	var text='';
	//¹Ì¸£Ä³½¬ÃæÀü
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_04.gif" name="memini61" width="80" height="21" border="0" onclick="MyCashRefil();" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini61\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_04ov.gif\',1);"></td>';
	text += '</tr>';
	text += '<tr>';
	text += '<td height="1"><img src="http://imgmirmall.gemmir.com/New_img/table_line.gif" width="80" height="1"></td>';
	text += '</tr>';


	//³»Á¤º¸º¯°æ
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_05.gif" name="memini62" width="80" height="21" border="0" onclick="MyInfo();" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini62\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_05ov.gif\',1);"></td>';
	text += '</tr>';

	return text;
}

function avata_text(){				///7¾Æ¹ÙÅ¸ ÅØ½ºÆ®
	var text='';
	//¾Æ¹ÙÅ¸¼îÇÎ
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_08.gif" name="memini7" width="80" height="21" border="0" onclick="MirAvata();" style="cursor:hand;" ';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini7\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_08ov.gif\',1);"></td>';
	text += '</tr>';

	return text;
}

function minia_text(){				///8¹Ì´Ï¾Æ ÅØ½ºÆ®  ----
	var text = '';
	text += '<tr>';
	text += '<td><img src="http://imgmirmall.gemmir.com/New_img/table_menu2_01.gif" name="memini8" width="80" height="21" border="0" onclick="Miniya();" style="cursor:hand;"';
	text += 'onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'memini8\',\'\',\'http://imgmirmall.gemmir.com/New_img/table_menu2_01ov.gif\',1);"></td>';
	text += '</tr>';
	return text;
}

var bShow = new Array();
bShow[0] = false;
bShow[1] = false;
function Hide_Obejct(e){
	try{
		var obj_id = new Array("PwQ","MailIn");
		var obj = new Array();
		for (var i=0; i<obj_id.length; i++){
			obj[i] = document.getElementById(obj_id[i]);

			if (obj[i].style.display=="block"){		
				if(!e && window.event) { e = window.event; }
				var b = document.body;
				var MARGIN = 10;
				eX = e.clientX + b.scrollLeft;
				eY = e.clientY + b.scrollTop;
				areaTop = obj[i].style.pixelTop;
				areaBottom = areaTop + obj[i].clientHeight - MARGIN;
				areaLeft = obj[i].style.pixelLeft + MARGIN;
				areaRight = areaLeft + obj[i].clientWidth - MARGIN;
						
				if ( eX < areaLeft || eX > areaRight || eY < areaTop || eY > areaBottom ) {obj[i].style.display = "none";}
			}		
		}
		
	}catch(e){}
}
document.onclick = function hide(){	if (!bShow[0] && !bShow[1]){Hide_Obejct();}bShow[0]=false;bShow[1]=false;}
function Full_Mode(){top.moveTo(0,0); parent.resizeTo(screen.availWidth, screen.availHeight);}

function returnValueFalse() {event.returnValue = false;}
function returnValueTrue() {event.returnValue = true;}

document.oncontextmenu	= returnValueFalse;
document.ondragstart	= returnValueFalse;
document.onselectstart	= returnValueFalse;