<!--

/////////////////////
//  ¸ÞÀÎ ½ºÅ©¸³Æ® //
////////////////////
function tab_indexs(s){

	if (s=="a"){
	skins.innerHTML= "<iframe src='http://www.gilhospital.com/introduction/imo/main_view_2007_main.php' width=100% height=105 scrolling=no name=iframe_imo frameborder=0   title='ÀÌ¸ðÀú¸ð' ></iframe>";
	}else if (s=="b"){
	skins.innerHTML= "<iframe src='http://www.gilhospital.com/service/notice/main_view_2007_main.html' width=100% height=105 scrolling=no name=iframe_imo frameborder=0  title='°øÁö»çÇ×'></iframe>";
	}else if (s=="c"){
	skins.innerHTML= "<iframe src='http://www.gilhospital.com/introduction/adoption/main_view_2007_main.html' width=100% height=105 scrolling=no name=iframe_imo frameborder=0   title='Ã¤¿ëÁ¤º¸'  ></iframe>";
	}

}

function tab_indexs_t(s){

	if (s=="a"){
	skins1.innerHTML= "<iframe src='http://www.gilhospital.com/introduction/imo/main_view_2007_main.php' width=100% height=105 scrolling=no name=iframe_imo frameborder=0   title='ÀÌ¸ðÀú¸ð' ></iframe>";
	}else if (s=="b"){
	skins2.innerHTML= "<iframe src='http://www.gilhospital.com/service/notice/main_view_2007_main.html' width=100% height=105 scrolling=no name=iframe_imo frameborder=0  title='°øÁö»çÇ×' ></iframe>";
	}else if (s=="c"){
	skins3.innerHTML= "<iframe src='http://www.gilhospital.com/introduction/adoption/main_view_2007_main.html' width=100% height=105 scrolling=no name=iframe_imo frameborder=0   title='Ã¤¿ëÁ¤º¸' ></iframe>";
	}

}
/////////////////////
//  ¸ÞÀÎ ½ºÅ©¸³Æ® //
////////////////////


//////////////////////
//  ·Ñ¿À¹ö¿ë ½ºÅ©¸³Æ® //
//////////////////////

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_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_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.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];}
}

var score_layers = new Array( "layer1", "layer2");
var score_objs = new Array( score_layers.length );
function score_getObjs()
{
    var nObjMax = score_layers.length;
    for( nCount = 0; nCount < nObjMax; nCount++ )
    {
        score_objs[nCount] = document.getElementById( score_layers[nCount] );
    }
}
function setMultitap( layerID )
{
    score_objs[0] != null ? "" : score_getObjs();
    if( layerID == score_objs[0].id )
    {
        score_objs[0].style.display = "";
        score_objs[1].style.display = "none";
    }
    else if( layerID == score_objs[1].id )
    {
        score_objs[0].style.display = "none";
        score_objs[1].style.display = "";
    }
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

//////////////////////
//  ·Ñ¿À¹ö¿ë ½ºÅ©¸³Æ® //
//////////////////////

//////////////////////
//  ·¹ÀÌ¾î¿ë ½ºÅ©¸³Æ® //
//////////////////////

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);


///////////////////
//  window open  //
///////////////////
function viewWindow(url,xTarget,xWidth,yHeight) {
  var UserWin = window.open(url, xTarget, 'width='+xWidth+',height='+yHeight+',menubar=no,scrollbars=no,resizable=yes');
}

function viewWindow2(url,xTarget,xWidth,yHeight) {
  var UserWin = window.open(url, xTarget, 'width='+xWidth+',height='+yHeight+',menubar=no,scrollbars=yes,resizable=yes');
}

function online(){
	//window.open('http://reg1.gilhospital.com/member/Login.php', 'reserve','width=880, height=600, scrollbars=yes, resizable=no');
	//2006-5-12 ¼öÁ¤  , ÀÎÅÍ³ÝÁø·á¿¹¾à ÆäÀÌÁö³» »ðÀÔ ¾ç½Â¿ì
	
	//2006-8-29 ¼öÁ¤ ¾ç½Â¿ì, ÆäÀÌÁö¸¦ Áø·á°ú ¿¹¾àÈÄ¿¡ °¡ÀÔÇüÅÂ·Î º¯È¯
	//location.href='http://www.gilhospital.com/member/Login.html';
	location.href='http://www.gilhospital.com/member/Clinic_section.html';
	
}

function goSite() {
var src2 = document.myformb.site.options[document.myformb.site.selectedIndex].value;
	if (src2 != "no")
		window.open(src2,'_blank')
}

////////////////
//¼öÅ¹ÇÁ·Î±×·¥//
////////////////
function sutak(){
	window.open('/sutak/f_sutak_index.php','sutak','top=50,left=50,width=10,height=10');
	
}


//////////////
// ºñ¹øÃ£±â //
//////////////
function pwd(){
	window.open('/login/find_pw.html','sutak','top=50,left=50,width=10,height=10');
	
}




function login(ul) { //·Î±×ÀÎ
//	URL = "/login/login.html?url="+<?=$url?>;
//	window.open('http://www.ghil.com/login/popup_login.html?url=<?=$url?>','LOGIN','width=360,height=180,left=5,top=5') 
 
//ÀÚ±âÆäÀÌÁö
//url=top.location.href;
//alert(url);
if(!ul){
	url = "/";

}
	//web_db·Î ÀÎÇØ ÀÓ½Ã·Î ¸·À½ 04-3-31
	//window.open('/login/popup_login.html?url='+url,'LOGIN','width=360,height=250,left=5,top=5') 
	location.href ='/login/login.html?url='+ul;
}

function login_submit() { //°Ç°­»ó´ã¿ë·Î±×ÀÎ
sample_form.submit();
}

function regist() { //È¸¿ø°¡ÀÔ
	//window.location.href = "http://www.ghil.com/login/agree.html";
	window.location.href = "/login/agree.html";
}

function favor() {
//	window.external.AddFavorite('http://www.ghil.com/','°¡ÃµÀÇ°ú´ëÇÐ±æº´¿ø');
	window.external.AddFavorite('http://211.253.219.54/','°¡ÃµÀÇ°ú´ëÇÐ±æº´¿ø');
}

function logout() { //·Î±×¾Æ¿ô
//	window.location.href="http://www.ghil.com/login/logout.html";
//ÀÚ±âÆäÀÌÁö
url=top.location.href;
	window.location.href="/login/logout.html?url="+url;

}


function goMemDelete() {
		window.location.href='/login/member_delete.html';
}


function update() { //¼öÁ¤
//	window.location.href='http://www.ghil.com/login/member_update.html';
	window.location.href='/login/member_update.html';
}
function goFindPw() { //ºñ¹øÃ£±â
	//URL = "http://www.ghil.com/login/find_pw.html";
	URL = "/login/pw.html";
	//window.open(URL,'FindPW','width=420,height=420,left=5,top=5') 
	location.href = URL;
}


function member_open(){ //È¸¿ø°¡ÀÔ
	var URL = "/login/mem_gubun.html";
	location.href=URL;

}

function sleep_open(){ //ÈÞ¸é°èÁ¤ 
	var URL = "/login/sleep_ID.html";
	location.href=URL;

}


/////////////////
// Á÷¿ø±¤Àå °øÁö //
/////////////////
function mail_notice(){
	window.open('/popup/popup_mail/popup.html','mail','top=50,left=200,width=270,height=350');
	
}

function GELD(){
	window.open('http://heart.ghil.com/seminar/index.htm', 'GELD','width=700, height=600, scrollbars=yes, resizable=no');
} 
 

/////////////////
// °Ô½ÃÆÇ ÆË¾÷¿ë//
///////////////// 
function pop(urls){
	window.open(urls, 'press','width=800, height=500, scrollbars=yes,resizable=yes ');
}


/////////////////////
// ¿¹¾à¾È³» ÇÁ¸°Æ® //
///////////////////// 
function print_open(){
 
// 1 showModalDialog(); can't be inactivated
// 2 showModelessDialog(); can be inactivated
	
	//var dWin = showModalDialog('./sw_view_print.html','print','status=no,resizable=no');
	
	 showModalDialog('./guide_print.html',window,'status:no;dialogWidth:690px;dialogHeight:700px;help:no');	
}

//////////////
// ¿ø³»¹èÄ¡ //
////////////// 
var oldObject;
var iObject;
 
function toggleDisplay(iObject) { 

	
		document.all.displayDIV01.style.display="none";
	
		if (iObject.style.display != "none"){
	
			iObject.style.display = "";
	
		}
	
		else {
	
			iObject.style.display = ""; 
	
			if (oldObject != null)

				oldObject.style.display = "none"; 
			oldObject = iObject;
	
		}

}


// ÇÃ·¡½¬ block 2006.2.15 ¾ç½Â¿ì //

function swf2(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name=wmode value=transparent>';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<param name="swliveconnect" value="true">';
	html += '<param name="pageNum" value="<?=$pageNum?>">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

/////////////////////////
// µµ¾à2008 È«º¸ºñµð¿À //
///////////////////////// 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

///////////////////
// ¿ìÆí¹øÈ£ °Ë»ö //
/////////////////// 
function findaddress(){

	fName = "popup_findaddress.html";
	window.open(fName, "popUp", 'width=440, height=370, location=no, top=50, left=100, status=yes, scrollbars=yes, resizable=yes');
}	


//////////////////////////
// °í°´ÀÇ ¼Ò¸® ¼³¹®Á¶»ç //
//////////////////////////
function sulmoon()
{
//window.open("http://ehealth.gilhospital.com/crm/msulmoon_write.asp","sulmoon","width=788, height=550, resizable=no,scrollbars=yes,left=100,top=10")  
//2009.6.11 À±¼¼¹Î¼ÒÀå ¼öÁ¤¿äÃ»
window.open("http://ehealth.gilhospital.com/crm/newcustom1.asp","sulmoon","width=788, height=550, resizable=no,scrollbars=yes,left=100,top=10")  
}
function msulmoon()
{
//window.open("http://ehealth.gilhospital.com/crm/msulmoon_write_test.asp?chFlag=client","sulmoon","width=788, height=550, resizable=no,scrollbars=yes,left=100,top=10")  
//2009.6.11 À±¼¼¹Î¼ÒÀå ¼öÁ¤¿äÃ»
window.open("http://ehealth.gilhospital.com/crm/newcustom.asp","sulmoon","width=788, height=550, resizable=no,scrollbars=yes,left=100,top=10")  
}
   
//-->



//ÅëÇÕ°Ë»ö¿ë//


function search_it(form){
 
//var form=document.mysearch;



if(form.search_text.value=="" || form.search_text.value=="°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä"){
	alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
	form.search_text.value="";
	form.search_text.focus();
	return false;
}

if (form.search_title.value=="total"){
//alert("total"); //ÀÚ·á°Ë»ö
//form.action="/service/result.html";
form.action="/service/result_search.php";
form.submit();
}else{
//alert("doctor"); //ÀÇ·áÁø°Ë»ö
//form.action="/mediexam/treat_intro3.html#hours";
//2007.3.20 ¼öÁ¤ ¾ç½Â¿ì
form.action="/mediexam/doctor_result_search.php";
form.submit();
}


}

//¸ÞÀÎ¿ë
function main_search_it(form){
 
//var form=document.mysearch;



if(form.search_text.value=="" || form.search_text.value=="°Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä"){
	alert("°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
	form.search_text.value="";
	form.search_text.focus();
	return false;
}

//if (form.search_title.value=="total"){
if (form.search_title.value=="total"){ //¶óµð¿À¹öÆ°À¸·Î º¯°æ 6.12
//alert("total"); //ÀÚ·á°Ë»ö
//form.action="/service/result.html";
form.action="/service/result_search.php";
return;
//form.submit();
}else{
//alert("doctor"); //ÀÇ·áÁø°Ë»ö
//form.action="/mediexam/treat_intro3.html#hours";
//2006.5.16 ¼öÁ¤ ¾ç½Â¿ì
form.action="/service/doctor_result_search.php";
return;
//form.submit();
}
 
 
}

//ÅëÇÕ°Ë»ö¿ë//

//ÇÃ·¡½¬ ¿ë// ±æº´¿ø¿ëÀº ¹ÙÅÁÀÌ Åõ¸íÇÃ·¡½¬ÀÌ¸é ¾ÈµÊ.
//var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");

function swf(src,w,h){

var gil_gaJsHost = (("https:" == document.location.protocol) ? "https:" : "http:");
 
 html = '';
 html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+gil_gaJsHost+'//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
 html += '<param name="movie" value="'+src+'">';
 html += '<param name="quality" value="high">';
 html += '<param name="wmode" value="transparent">';
 html += '<param name=menu value=false>';
 html += '<param name="swliveconnect" value="true">';
 html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="'+gil_gaJsHost+'//www.macromedia.com/go/getflashplayer"><\/embed>';
 html += '<\/object>';
 document.write(html);
}

function swf_ssl(src,w,h){
 html = '';
 html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
 html += '<param name="movie" value="'+src+'">';
 html += '<param name="quality" value="high">';
 html += '<param name=wmode value=window>';
 html += '<param name=menu value=false>';
 html += '<param name="swliveconnect" value="true">';
 html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" width="'+w+'" height="'+h+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer"><\/embed>';
 html += '<\/object>';
 document.write(html);
}


//ÇÃ·¡½¬ ¿ë//








//Àú½Ã·ÂÀÚ¿ë ¹öÆ°////////////////////// ================================================

//v °ªÀº È®´ë,Ãà¼ÒµÉ °ª
function resizewindow(d,v) {




if (v=='big'){
	if (d.body.style.zoom<3.3){ //1,2,3
		if(d.body.style.zoom==0){//ÃÊ±â°ª
			d.body.style.zoom = 1;
			d.body.style.zoom *= 1.5;   //È®´ë½ÇÇà
		}else{
			//d.body.style.zoom = d.body.style.zoom + 1.5;   //È®´ë½ÇÇà
			d.body.style.zoom *= 1.5;   //È®´ë½ÇÇà
		}
				
		// alert('È®´ë½ÇÇà');
	}else{
		//d.body.style.zoom = 4.5;   //3¹èÀ¯Áö
		 //alert('3¹èÀ¯Áö');
	}
}else if(v=='small'){
	if (d.body.style.zoom>1){ //2,3 °æ¿ì
	d.body.style.zoom = d.body.style.zoom / 1.5;  // 
	// alert('ÀÛ°Ô');
	}	

}
  //alert(d.body.style.zoom);
  var ddd = d.body.style.zoom;
	//ÄíÅ°Àû¿ë//
	//setCookie('gil_screenview',d.body.style.zoom,'/','211.253.219.63');
	//setCookie( "gil_screenview", ddd , 0); 	

	setCookie("gil_screenview", ddd, 1 );






}

//ÄíÅ°È®ÀÎ//
 function getCookie( cookieName )
 {
  var search = cookieName + "=";
  var cookie = document.cookie;

  // ÇöÀç ÄíÅ°°¡ Á¸ÀçÇÒ °æ¿ì
  if( cookie.length > 0 )
  {
   // ÇØ´ç ÄíÅ°¸íÀÌ Á¸ÀçÇÏ´ÂÁö °Ë»öÇÑ ÈÄ Á¸ÀçÇÏ¸é À§Ä¡¸¦ ¸®ÅÏ.
   startIndex = cookie.indexOf( cookieName );

   // ¸¸¾à Á¸ÀçÇÑ´Ù¸é
   if( startIndex != -1 )
   {
    // °ªÀ» ¾ò¾î³»±â À§ÇØ ½ÃÀÛ ÀÎµ¦½º Á¶Àý
    startIndex += cookieName.length;

    // °ªÀ» ¾ò¾î³»±â À§ÇØ Á¾·á ÀÎµ¦½º ÃßÃâ
    endIndex = cookie.indexOf( ";", startIndex );

    // ¸¸¾à Á¾·á ÀÎµ¦½º¸¦ ¸øÃ£°Ô µÇ¸é ÄíÅ° ÀüÃ¼±æÀÌ·Î ¼³Á¤
    if( endIndex == -1) endIndex = cookie.length;

    // ÄíÅ°°ªÀ» ÃßÃâÇÏ¿© ¸®ÅÏ
    return unescape( cookie.substring( startIndex + 1, endIndex ) );
   }
   else
   {
    // ÄíÅ° ³»¿¡ ÇØ´ç ÄíÅ°°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì
    return false;
   }
  }
  else
  {
   // ÄíÅ° ÀÚÃ¼°¡ ¾øÀ» °æ¿ì
   return false;
  }
 }


//ÄíÅ°¼³Á¤//
 function setCookie( cookieName, cookieValue, expireDate )
 {
  var today = new Date();
  today.setDate( today.getDate() + parseInt( expireDate ) );
  //document.cookie = cookieName + "=" + escape( cookieValue ) + "; path=/; expires=" + today.toGMTString() + ";";
  document.cookie = cookieName + "=" + escape( cookieValue ) + "; path=/; ";
 }

//ÄíÅ°»èÁ¦// 
 function deleteCookie( cookieName )
 {
  var expireDate = new Date();
  
  //¾îÁ¦ ³¯Â¥¸¦ ÄíÅ° ¼Ò¸ê ³¯Â¥·Î ¼³Á¤ÇÑ´Ù.
  expireDate.setDate( expireDate.getDate() - 1 );
  document.cookie = cookieName + "= " + "; expires=" + expireDate.toGMTString() + "; path=/";
 }

//ÀÚ½ÅÀÌ ÁöÁ¤ÇÑ °ªÀ¸·Î ÄíÅ° ¼³Á¤
 function setMyCookie()
 {
  setCookie( form.setName.value, form.setValue.value, form.expire.value );
  viewCookie(); // ÀüÃ¼ ÄíÅ° Ãâ·Â °»½Å
 }

 
//ÀÚ½ÅÀÌ ÁöÁ¤ÇÑ ÄíÅ°¸íÀ¸·Î È®ÀÎ  
 function getMyCookie()
 {
  alert( "ÄíÅ° °ª : " + getCookie('gil_screenview') );
 }
 
//ÀÚ½ÅÀÌ ÁöÁ¤ÇÑ ÄíÅ°¸íÀ¸·Î ÄíÅ° »èÁ¦
 function deleteMyCookie()
 {
  deleteCookie( form.deleteName.value );
  alert("ÄíÅ°°¡ »èÁ¦µÇ¾ú½À´Ï´Ù.");
  viewCookie();
 }

//ÀüÃ¼ÄíÅ°Ãâ·Â
function viewCookie()
 {
  if( document.cookie.length > 0 )
   cookieOut.innerText = document.cookie;
  else
   cookieOut.innerText = "ÀúÀåµÈ ÄíÅ°°¡ ¾ø½À´Ï´Ù.";
 }



//Àú½Ã·ÂÀÚ¿ë ¹öÆ°////////////////////// ================================================








//¼ýÀÚ¸¸ ÀÔ·Â//


function onlyNumber()
{
   if ((event.keyCode<48)||(event.keyCode>57))
      event.returnValue = false;
   
}

//¼ýÀÚ¸¸ ÀÔ·Â//

 
 


// °ü¸®ÀÚ ·Î±×ÀÎ½Ã ÆË¾÷ //

////////////////////////////////////////////////////
///                                              ///
///    DHTML & PaintShop Pro World               ///
///    http://galaxy.channeli.net/bio028         ///
///    ¸¸µçÀÌ : ÀÌµ¿ÇÑ (bio028@channeli.net)     ///
///                                              ///
////////////////////////////////////////////////////

function init() {
        popText = menuDiv.style;
        tab = clickBar.style;
        menuVisibility = 0;
}

function textMenu() {

        if (menuVisibility) {
                tab.visibility = "hidden";
                tab.left = 0;
                tab.visibility = "visible";
                popText.visibility = "hidden";
                menuVisibility = 0;
                return;
        }

        if (!menuVisibility) {
        	tab.visibility = "hidden";
                tab.left = 223;
                tab.visibility = "visible";
                popText.visibility = "visible";
                menuVisibility = 1;
	}
}


// °ü¸®ÀÚ ·Î±×ÀÎ½Ã ÆË¾÷ //


// °Ô½ÃÆÇ ¹Ì¸®º¸±â //

function ViewPages(form,vt) {


      winObj = window.open('/include/bbs_vew.php?form='+form+'&vt='+vt,'popup_view','scrollbars=yes,resizable=yes,width=660,height=600,top=50,left=50');
		//document.write(source);
        //document.close();
		//source
	  winObj.focus();
 
	   
 
 
}

// °Ô½ÃÆÇ ¹Ì¸®º¸±â //


//ucc¿ë//
function obj_ucc(src,w,h){
//http://play.tagstory.com/player/TS00@V000019686
html = '<OBJECT id=V000019686 codeBase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16,0 height='+h+' width='+w+' classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000>';
html += '	<PARAM NAME="_cx" VALUE="10583">';
html += '	<PARAM NAME="_cy" VALUE="9128">';
html += '	<PARAM NAME="FlashVars" VALUE="">';
html += '	<PARAM NAME="Movie" VALUE="'+src+'">';
html += '	<PARAM NAME="Src" VALUE="'+src+'">';
html += '	<PARAM NAME="WMode" VALUE="window">';
html += '	<PARAM NAME="Play" VALUE="0">';
html += '	<PARAM NAME="Loop" VALUE="-1">';
html += '	<PARAM NAME="Quality" VALUE="High">';
html += '	<PARAM NAME="SAlign" VALUE="LT">';
html += '	<PARAM NAME="Menu" VALUE="0">';
html += '	<PARAM NAME="Base" VALUE="">';
html += '	<PARAM NAME="AllowScriptAccess" VALUE="always">';
html += '	<PARAM NAME="Scale" VALUE="ExactFit">';
html += '	<PARAM NAME="DeviceFont" VALUE="0">';
html += '	<PARAM NAME="EmbedMovie" VALUE="0">';
html += '	<PARAM NAME="BGColor" VALUE="">';
html += '	<PARAM NAME="SWRemote" VALUE="">';
html += '	<PARAM NAME="MovieData" VALUE="">';
html += '	<PARAM NAME="SeamlessTabbing" VALUE="1">';
html += '	<PARAM NAME="Profile" VALUE="0">';
html += '	<PARAM NAME="ProfileAddress" VALUE="">';
html += '	<PARAM NAME="ProfilePort" VALUE="0">';
html += '	<PARAM NAME="AllowNetworking" VALUE="all">';
html += '	<PARAM NAME="AllowFullScreen" VALUE="false">';
html += '	<embed src="'+src+'" width="'+w+'" height="'+h+'" name="V000019686" wmode="transparent" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></OBJECT>';


 document.write(html);
}


function AHEAD(){
	window.open('http://heart.gilhospital.com/GoAHEAD/index.html', 'AHEAD','width=700, height=635, scrollbars=yes, resizable=no');
}

function ubs(){
	window.open('http://uhealth.gilhospital.com/seminar/popup1.htm?seq=3', 'ubs','width=690, height=640, scrollbars=yes, resizable=no');
}

function CAMBODIA(){
	window.open('http://www.gilhospital.com/admin/pakistan/board_list.html', 'CAMBODIA','width=680, height=625, scrollbars=yes, resizable=no');
}

function NewYear(){
	window.open('http://www.gilhospital.com/popup/newyear/newyear_2008.html', 'NewYear','width=700, height=700, scrollbars=yes, resizable=no');
}

function NewYear2(){
	window.open('http://www.gilhospital.com/popup/newyear/2008_gachon/newyear.htm', 'NewYear2','width=700, height=700, scrollbars=yes, resizable=no');
}

function sign(u){
window.open(u,"u","width=520,height=400");
}


