function reserOpen(w,h){
	w=800;
	h=600;
	cx=(screen.availWidth-w)/2;
	cy=(screen.availHeight-h)/2;
		window.open
("/reservation/reservation_list.html","","scrollbars=yes,width="+w+",height="+h+
",left="+cx+",top="+cy);
	}	

function traffic1Open(w,h){
	//w=400;
	//h=300;
	cx=(screen.availWidth-w)/2;
	cy=(screen.availHeight-h)/2;
		window.open
("time2.html","","scrollbars=yes,width="+w+",height="+h+
",left="+cx+",top="+cy);
	}	
	
	function traffic2Open(w,h){
	//w=400;
	//h=300;
	cx=(screen.availWidth-w)/2;
	cy=(screen.availHeight-h)/2;
		window.open
("time1.html","","scrollbars=yes,width="+w+",height="+h+
",left="+cx+",top="+cy);
	}	
	
	function mainOpen(w,h){
	//w=400;
	//h=300;
	cx=(screen.availWidth-w)/2;
	cy=(screen.availHeight-h)/2;
		window.open
("main.html","","scrollbars=no,resizable=yes,width="+w+",height="+h+
",left="+cx+",top="+cy);
	}	
	
		 
function fullopen(url){
newwin=window.open("","","scrollbars=no,toolbar=no,location=no,status=no,menubar=no,resizable=yes")
if (document.all) {
newwin.moveTo(0,0)
newwin.resizeTo(screen.width,screen.height)
}
newwin.location = url
}
								 
                                
								/*
								if (window.Event) // ³Ý½ºÄÉÀÌÇÁ¿¡¼­¸¸ ´ë¹®ÀÚ E.
								document.captureEvents(Event.MOUSEUP); // mouse up ÀÌº¥Æ®¸¦ ÀâÀ½
								
								function nocontextmenu() // IE4¿¡¼­¸¸ Àû¿ë, ´Ù¸¥ ºê¶ó¿ìÀú´Â ¹«½Ã
								{
								event.cancelBubble = true
								event.returnValue = false;
								
								return false;
								}
								
								function norightclick(e) // ´Ù¸¥ ¸ðµç ºê¶ó¿ìÀú¿¡¼­ ÀÛµ¿
								{
								if (window.Event) // ´Ù½Ã, IE ¶Ç´Â NAV ?
								{
								if (e.which == 2 || e.which == 3)
								return false;
								}
								else
								if (event.button == 2 || event.button == 3)
								{
								event.cancelBubble = true
								event.returnValue = false;
								return false;
								}
								
								}
								
								document.oncontextmenu = nocontextmenu; // IE5+ ¿ë
								document.onmousedown = norightclick; // ´Ù¸¥ ºê¶ó¿ìÀú ¿ë
								*/
								
								
																

function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;

function OpenWindow(url,intWidth,intHeight) { 
      window.open(url, "_blank", "width="+intWidth+",height="+intHeight+",resizable=1,scrollbars=0") ;
}



// Áß¾ÓÆË¾÷Ã¢¶ç¿ì±â
var UserBrowserWidth = window.screen.width ; //ÁÂÇ¥¼³Á¤
var UserBrowserHeight = window.screen.height ; //ÁÂÇ¥¼³Á¤
var OpenWinVal ;
function openWindow(filename,w,h,name,center,scrollbars)
{
  var StrOption ;
	
  StrOption  = "width=" + w + ",height=" + h + ",";
  StrOption += "toolbar=no,location=no,directories=no,status=no,";
  StrOption += "menubar=no,scrollbars=" + scrollbars + ",resizable=no";
		
  //if(OpenWinVal != null && !OpenWinVal.closed)
    //OpenWinVal.close() ;
  OpenWinVal = window.open(filename, name, StrOption) ;
  if(center == "yes") OpenWinVal.moveTo((UserBrowserWidth/2) - (w/2),(UserBrowserHeight/2) - (h/2)) ;
  return ;
}

//javascript: openWindow('link','640','600','r001','yes','no')

function flash(url, width, height, allowDomain) {
	if (allowDomain = "") {allowDomain = false;}
	try {document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + width + '" height="' + height + '">');
		document.write('<param name="movie" value="' + url + '">');
	if (allowDomain = true) {
		document.write('<param name="allowScriptAccess" allowFullScreen="true" value="always"/>');}
		document.write('<param name="quality" value="high"><param name="wmode" value="transparent"><PARAM NAME="menu" VALUE="false">');
		document.write('<embed src="' + url + '" quality="high" allowFullScreen="true" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" menu="false"></embed>');
		document.write('</object>');} catch(E){}
}


function mapPrint(){
	w=700;
	h=500;
	cx=(screen.availWidth-w)/2;
	cy=(screen.availHeight-h)/2;
		window.open
("/map_print.html","","scrollbars=yes,width="+w+",height="+h+
",left="+cx+",top="+cy);
	}	

function bookMark(){
window.external.AddFavorite('http://www.starpension.kr/','¿¬ÀÎµéÀÇ Ãµ±¹ ³²ÀÌ¼¶ º°Ææ¼Ç')
}