<!--

function img_act(imgName) {
	document [imgName].src = eval(imgName + "on.src");}

function img_inact(imgName) {
	document [imgName].src = eval(imgName + "off.src");}


// °Ë»öÃ¢ ±âº»ÅØ½ºÆ® ¼³Á¤
function clearField(field){ 
	if (field.value == field.defaultValue) { 
	field.value = ''; 
	} 
} 
function checkField(field){ 
	if (field.value == '') { 
	field.value = field.defaultValue; 
	} 
} 

function quickmenu(formname) {
	// ÀÚ½ÅÀÎ°æ¿ì
	var target=eval(self) 
	
	// main ÇÁ·¹ÀÓÀÇ ÆäÀÌÁö¸¦ ¹Ù²Ù´Â °æ¿ì
	//var target=eval(top.main) 
	
	// newwin ÀÌ¶ó´Â »õÃ¢¿¡ ¿©´Â °æ¿ì
	//var newwin = window.open();
	//var target=eval(newwin) 

	if (formname.value==''){
	// ¸Þ´º¸¦ ¼±ÅÃÇÏÁö¾Ê°í ¹öÆ° Å¬¸¯½Ã ÀÌº¥Æ®
	}
		else {
			target.location=formname.options[formname.selectedIndex].value;
			document.quickform.url.selectedIndex=0; // ÀÌµ¿ÇÑ ´ÙÀ½ Ç®´Ù¿î¸Þ´º ¼±ÅÃÇØÁ¦
		}
	}


function OpenPop1(Filename) {
	window.open(Filename, 'pop1', 'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=,height=,copyhistory=1');
	}


function OpenPop2(Filename) {
	window.open(Filename, 'pop2', "resizable=no,scrollbars=no, status=1, width=400,height=200");
	}


function SendMail(Filename) {
	var iMyWidth;
	var iMyHeight;
	iMyWidth = (window.screen.width/2) - (240 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (window.screen.height/2) - (250 + 50); //half the screen height minus half the new window height (plus title and status bars).
	var popmv = window.open(Filename,"sendmail","status=1, scrollbars=no, resizable=no, width=480, height=475,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ""); popmv.focus();
	}


function lnk_goto(url, targetstr) {
  if (url == 'back')
    history.back(1);
  else if (url == 'prev')
    history.forward(1);
  else {
     if (targetstr == 'blank') {
       window.open(url, 'win1');
     } else {
       var frameobj;
       if (targetstr == '') targetstr = 'self';
       if ((frameobj = eval(targetstr)) != null)
         frameobj.location = url;
     }
  }
}


function clearform() {
	document.form.reset();
	}

//-->
function object_banner01()
{
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='275' height='78'><param name='movie' value='./banner01.swf'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='http://www.presso.co.kr/banner01.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='275' height='78'></embed></object>");
}
function object_banner02()
{
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='210' height='60'><param name='movie' value='./banner01.swf'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='http://www.presso.co.kr/banner01.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='210' height='60'></embed></object>");
}

function printShow(url){

var newwindow = window.open("http://presso.co.kr/mail/cupon.jpg", "printsrc", "status=no,toolbar=no,scrollbars=no,resizable=no,menubar=no,width=700 height=220");
newwindow.print()
newwindow.blur()
}

