//	##########################################################################
//	»ó´Ü¿¡ ²À include ½ÃÅ³°Í.
//		<script language="javascript" src="/webvisions.js"></script>
//	##########################################################################

//	source	---->	/img/test.swf
//	id		---->	±×³É ¾ÆÀÌµð ¾øÀ½ ¸»°í
//	width	---->	ÇÃ·¹½¬ °¡·Î
//	height	---->	ÇÃ·¹½¬ ¼¼·Î
//	wmode	---->	"none, transparent, opaque" ÇÊ¿ä ¾øÀ¸¸é none ³Ö¾î ÁÖ¸éµÊ.
//	otherparam	---->	<param  name='menu' value='false'> or ´Ù¸¥ Ã·°¡»çÇ× ³ÖÀ»°Í ¾øÀ»°æ¿ì´Â ±×³É ¾È³ÖÀ¸¸éµÊ.


//	»ùÇÃ

//	»ó´Ü¿¡ <script language="javascript" src="/webvisions.js"></script> À» ²À ³Ö°í ¾Æ·¡ µÑÁß¿¡ ÇÏ³ª 
//	¸¾¿¡ µå´Â°Í »ç¿ëÇÏ¸éµË´Ï´Ù.
//	Àß ¸ð¸£¸é sunny¿¡°Ô ¹®ÀÇ ÇÏ¼¼¿ä.

//1.

//	<script language="javascript">
//		document.write(MakeFlashString('/img/main_img.swf','rc','506','476','none','<param  name="menu" value="false" >'));
//	</script>	

//3.
//	<script language="javascript">
//		document.write(MakeFlashother('/img/main_img.swf','rc','506','476','none',''));
//	</script>

function MakeFlashString(source,id,width,height,wmode, otherparam) {	
	return "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" /><param name=movie value="+source+" /><param name=quality value=high />"+otherparam+"<embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+"></embed></object>";
}

function MakeFlashStringWebCam(id,width,height,channel) {	
//return "<object classid='CLSID:38147bab-2268-46c3-ac6d-c7fc5fb46519' codebase='http://www.jisanresort.co.kr/season/XClient.cab#version=1,1,4,1' width='"+width+"' height='"+height+"' id='"+id+"'><PARAM NAME='serverIP' VALUE='218.236.128.50'><PARAM NAME='serverPORT' VALUE='10001'><PARAM NAME='serverCHANNEL' VALUE='"+channel+"'><PARAM NAME='userID' VALUE='user'><PARAM NAME='userPWD' VALUE='user'></object>";
//return "<object classid='CLSID:38147bab-2268-46c3-ac6d-c7fc5fb46519' codebase='http://www.jisanresort.co.kr/season/XClient.cab#version=1,1,4,1' width='"+width+"' height='"+height+"' id='"+id+"'><PARAM NAME='serverIP' VALUE='222.122.43.135'><PARAM NAME='serverPORT' VALUE='10001'><PARAM NAME='serverCHANNEL' VALUE='"+channel+"'><PARAM NAME='userID' VALUE='user'><PARAM NAME='userPWD' VALUE='user'></object>";
//return "<object classid='CLSID:38147bab-2268-46c3-ac6d-c7fc5fb46519' codebase='http://www.jisanresort.co.kr/season/XClient.cab#version=1,1,4,1' width='"+width+"' height='"+height+"' id='"+id+"'><PARAM NAME='serverIP' VALUE='222.122.52.133'><PARAM NAME='serverPORT' VALUE='10001'><PARAM NAME='serverCHANNEL' VALUE='"+channel+"'><PARAM NAME='userID' VALUE='user'><PARAM NAME='userPWD' VALUE='user'></object>";
return "<object classid='CLSID:38147bab-2268-46c3-ac6d-c7fc5fb46519' codebase='http://www.jisanresort.co.kr/season/XClient.cab#version=1,1,4,1' width='"+width+"' height='"+height+"' id='"+id+"'><PARAM NAME='serverIP' VALUE='222.122.43.136'><PARAM NAME='serverPORT' VALUE='10001'><PARAM NAME='serverCHANNEL' VALUE='"+channel+"'><PARAM NAME='userID' VALUE='user'><PARAM NAME='userPWD' VALUE='user'></object>";
}

function MakeFlashStringWebCam_Temp(id,width,height,channel,ip) {	
return "<object classid='CLSID:38147bab-2268-46c3-ac6d-c7fc5fb46519' codebase='http://www.jisanresort.co.kr/season/XClient.cab#version=1,1,4,1' width='"+width+"' height='"+height+"' id='"+id+"'><PARAM NAME='serverIP' VALUE='"+ip+"'><PARAM NAME='serverPORT' VALUE='10001'><PARAM NAME='serverCHANNEL' VALUE='"+channel+"'><PARAM NAME='userID' VALUE='user'><PARAM NAME='userPWD' VALUE='user'></object>";
}

function MakeFlashStringLayer(source,id,width,height,wmode, otherparam, Layer) {	
	return "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0\" width="+width+" height="+height+" id="+id+" "+Layer+"><param name=wmode value="+wmode+" /><param name=movie value="+source+" /><param name=quality value=high />"+otherparam+"<embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+"></embed></object>";
}

//	source	---->	/img/test.swf
//	id		---->	±×³É ¾ÆÀÌµð ¾øÀ½ ¸»°í
//	width	---->	ÇÃ·¹½¬ °¡·Î
//	height	---->	ÇÃ·¹½¬ ¼¼·Î
//	wmode	---->	"none, transparent, opaque" ÇÊ¿ä ¾øÀ¸¸é none ³Ö¾î ÁÖ¸éµÊ.
//	otherparam	---->	bgcolor=#FFFFFF µî ±âÅ¸ Ã·°¡ »çÇ× ¾øÀ¸¸é ¾È³ÖÀ¸¸éµÊ.

function MakeFlashother(source,id,width,height,wmode, otherparam) {	
	return "<embed src="+source+" quality=high wmode="+wmode+" "+otherparam+" pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\' type='application/x-shockwave-flash' width="+width+" height="+height+" ></embed> ";
}

// Direct Write Type
function DocumentWrite(src) {
	document.write(src);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}




