
	

//==================================================================================================================

	function bigView(url) {
		
		var bigImg=document.getElementById('imgTitle');
		bigImg.filters.blendTrans.apply();
		bigImg.src = url
		bigImg.filters.blendTrans.play();
		return;
	}

//==================================================================================================================
	function emailSend(Gcode){
	
		window.open('emailChk.asp?Gcode='+Gcode,'','width=500, height=250,scrollbars=no')
	}

//==================================================================================================================

	function subPrint(){
 
	
//---------------------------------div Print---------------------------------------------------
		var initBody = document.body.innerHTML;
		window.onbeforeprint = function(){
			document.body.innerHTML = document.getElementById('sub01').innerHTML;
		}
		window.onafterprint = function(){
			document.body.innerHTML = initBody;
		}
		window.print();     

//-------------------------------------------------------------------------------------

//	document.printView.divp.value=document.getElementById('sub01').innerHTML;

//	window.open('divPrint.asp','','');
	}


	function subPrint1(Gcode){
		window.open('print.asp?Gcode='+Gcode,'','width=660, height=500,scrollbars=yes')
	}

//==================================================================================================================

	function dayChk(val){
	
	var today=new Date();
	var cYear=today.getYear();
	var cMonth=today.getMonth()+1;
	var cDay=today.getDate();

	 sDate=val.split("-")
	  
	  var startDt = new Date(Number(cYear),Number(cMonth)-1,Number(cDay));
	  var endDt = new Date(Number(sDate[0]),Number(sDate[1])-1,Number(sDate[2]));

	  resultDt = Math.floor(endDt.valueOf()/(24*60*60*1000)- startDt.valueOf()/(24*60*60*1000));
	  
	  //alert(resultDt);
	   if(resultDt<1){
		alert("»ó´ã¿ø°ú ¹®ÀÇÇÏ¼¼¿ä\n\n Tel. ");
		return;
	   }
	   
	  reser.submit();
	}
	
//==================================================================================================================

	function zoom(img,x,y){
		
		window.open('/tour/zoom.asp?img='+img,'','width='+x+',height='+y)
	}
//==================================================================================================================


	function showCal(frm,sel,se2){
		winCal = window.open("/comm/calendar.asp?frm="+frm+"&sel="+sel+"&se2="+se2, "winCal", "width=220, height=220, directories=no,location=no,menubar=no,scrollbars=no,statur=no,toolbar=no,resizable=no, copyhistory=no, left=500, top=500");
	}

//==================================================================================================================
