
		function callCupido(){
		  windowsH = open_win_noresizable('http://saychatting.sayclub.com/meeting/meet_matchform.nwz', 'Cupido', 439, 420);
		}
		
		function searchIntent(intent){
		/*
			searchForm.intent.value = intent;
			searchForm.agerange.value = "";
 			searchForm.sido.value = "";
			searchForm.submit();
		*/	
			goLoginForm("http://saychatting.sayclub.com/meeting/meet_onlinelist.nwz?intent="+intent);
		}
		
		function searchAge(age) {
		/*
			searchForm.intent.value = "";
			searchForm.agerange.value = age;
 			searchForm.sido.value = "";
			searchForm.submit();
		*/
			goLoginForm("http://saychatting.sayclub.com/meeting/meet_onlinelist.nwz?agerange="+age);
		}
	
		function searchRegion(cregion){
		/*
			searchForm.intent.value = "";
			searchForm.agerange.value = "";
			searchForm.sido.value = cregion;
			searchForm.submit();  
		*/
			goLoginForm("http://saychatting.sayclub.com/meeting/meet_onlinelist.nwz?sido="+cregion);
		}
		
		function showIntro(no, obj) {
			var e = $("#"+obj+no).offset();
			var h = $("#"+obj+no).height();      
			posX = e.left;
			if (h > 20)	posY = e.top+(h/2);
			else	posY = e.top+h;
			$("#divIntro").remove();
			
			var wHtml = "";
			wHtml = wHtml + "<div class=\"popLayerWrap wd278\" style=\"position:absolute;top:"+posY+"px;left:"+posX+"px;\" id=\"divIntro\">";
			wHtml = wHtml + "	<div class=\"popLayerTop\"></div>";
			wHtml = wHtml + "	<div class=\"popLayerMid\">";
			wHtml = wHtml + "		<p class=\"btnPopClose\"><a href=\"javascript:void(hideIntro());\" title=\"닫기\"><img src=\""+_staticImgUrl+"/common/button/blc_closePopLayerOff.gif\" alt=\"닫기\" onmouseover=\"this.src='"+_staticImgUrl+"/common/button/blc_closePopLayerOn.gif'\" onmouseout=\"this.src='"+_staticImgUrl+"/common/button/blc_closePopLayerOff.gif'\"/></a></p>";
			wHtml = wHtml + "		<div class=\"contentsMsg\">";
			wHtml = wHtml + "			<p class=\"greet\">"+greetarr[no];
			wHtml = wHtml + "			</p>";
			wHtml = wHtml + "		</div>";
			wHtml = wHtml + "	</div>";
			wHtml = wHtml + "	<div class=\"popLayerBtm\"></div>";
			wHtml = wHtml + "</div>";
			
			$("body").append(wHtml);
		}
		
		function hideIntro() {
			$("#divIntro").remove();
		}
		
		function invite(msrl) {
			open_win_noresizable("http://saychatting.sayclub.com/meeting/pop_meet_notifyform.nwz?dummy=4734&amp;msrllist[]=" + msrl, 'notifyform', 387, 340);
		}
		
		function sendPropose(msrl) {
			open_win_noresizable("http://saychatting.sayclub.com/meeting/pop_meet_before_propose.nwz?targetmsrl=" + msrl , 'pop_meet_send_propose', 417, 410);
		}
		
		function requestPhotoGenic() {
			open_win_noresizable('http://saychatting.sayclub.com/meeting/pop_meet_request_photo_genic.nwz','', 490, 635);
		}
		
		function chatRoomSearch_Search()
		{
			if ($("#idInput_SearchTopic").val() == "" || $("#idInput_SearchTopic").val() == "어떤 채팅방을 찾고 계신가요?")
			{
				LayerHandler.alertCntl2("<span class=\"msgIc\">검색할 단어를 입력해 주셔야 합니다.</span>");
				return;
			}
			
    		//document.location.href = "http://saychatting.sayclub.com/partner/room_find.nwz?type=&search_flag=condition&mask="+$("#idInput_SearchTopic").val()+"&mask_radio=on";
			$("#searchChatroom").submit();
		}

		function chatRoomSearch_OnFocusTopic()
		{
			if ($("#idInput_SearchTopic").val() == "어떤 채팅방을 찾고 계신가요?")
			{
				$("#idInput_SearchTopic").val("");
			}
		}

		function chatRoomSearch_OnBlurTopic()
		{
			if ($("#idInput_SearchTopic").val() == "")
			{
				$("#idInput_SearchTopic").val("어떤 채팅방을 찾고 계신가요?");
			}
		}

		function ChatRoomSearch()
		{
			this.search        = chatRoomSearch_Search;
			this.onFocusTopic  = chatRoomSearch_OnFocusTopic;
			this.onBlurTopic   = chatRoomSearch_OnBlurTopic;
		}

		var chatRoomSearch = new ChatRoomSearch();
  
		function goCupito()
		{
			var html = "";
			
			html = html + "<div class=\"popLayerWrap wd348\">";
			html = html + "	<div class=\"popLayerTop\"></div>";
			html = html + "	<div class=\"popLayerMid\">";
			html = html + "		<p class=\"btnPopClose\"><a href=\"javascript:void(LayerHandler.closeAlert());\" title=\"닫기\"><img src=\""+_staticImgUrl+"/common/button/blc_closePopLayerOff.gif\" alt=\"닫기\" onmouseover=\"this.src='"+_staticImgUrl+"/common/button/blc_closePopLayerOn.gif'\" onmouseout=\"this.src='"+_staticImgUrl+"/common/button/blc_closePopLayerOff.gif'\"/></a></p>";
			html = html + "		<h1>캐릭터 자랑</h1>";
			html = html + "		<div class=\"contentsMsg\">";
			html = html + "			<p><em>10대 큐피토채팅</em>은 <a href=\"http://saychatting.sayclub.com/meeting/index.nwz?from=cupito\">세이틴>틴 큐피토</a>에서<br/>";
			html = html + "			이용하실 수 있습니다.<br/>";
			html = html + "			우리들만의 세상! <em>세이틴!</em>으로 오세요. ^^</p>";
			html = html + "			<div class=\"btnControlPop\"> <a id=\"ALERTHREF\"href=\"http://saychatting.sayclub.com/meeting/index.nwz?from=cupito\" title=\"틴 큐피토 가기\"><img src=\""+_staticImgUrl+"/common/button/ble_tinCupido.gif\" alt=\"틴 큐피토 가기\"/></a> </div>";
			html = html + "		</div>";
			html = html + "	</div>";
			html = html + "	<div class=\"popLayerBtm\"></div>";
			html = html + "</div>";
			
			LayerHandler.alertHtml(html, 'Y');
			$("#ALERTHREF").focus();
		}
		

		function openRoseHistory()
		{
			PopupHandler.openWin(_staticUrl+"/saycast/rose/history/recv", "_poprosehistory", 500, 550);
		}
