
function swf(src,w,h,f_var){
	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="param1" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
    html += '<param name="FlashVars" value="'+f_var+'">';
    html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="false">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high  width="'+w+'" height="'+h+'" FlashVars="'+f_var+'" menu="false" swliveconnect="true" id="param1" name="param1" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" ><\/embed>';
	html += '<\/object>';
	document.write(html);
}

function swf_left(src,w,h,f_var){
	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=8,0,0,0" id="left" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="FlashVars" value="'+f_var+'">';
	html += '<param name="allowScriptAccess" value="always">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="false">';
	html += '<param name="swliveconnect" value="true">';
	html += '<embed src="'+src+'" quality=high wmode="transparent" allowScriptAccess="always" menu="false" height="'+h+'" width="'+w+'" FlashVars="'+f_var+'" swliveconnect="true"  id="left" name="left" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}


function popFlash(src,w,h){
	html = '';
	html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w+'" height="'+h+'" id="fullMenuFlash" align="middle">';
	html += '<param name="allowScriptAccess" value="always" />';
	html += '<param name="allowFullScreen" value="false" />';
	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 += '<embed src="'+src+'" quality="high" wmode="transparent" bgcolor="#ffffff" width="'+w+'" height="'+h+'" name="fullMenuFlash" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '<\</object>>';
	document.write(html);
}

function callJava(str){
	var aa=document.location.href
	return aa
}

function openVan(){
	open('http://webvan.dsec.co.kr');
}

function openRightNow(){
	
	var target = document.getElementById("FullMenu");
	target.style.visibility="visible";
	
	setTimeout(showMenu, 500);
	//window["fullMenuFlash"].showMeTheMoney();
	
	
}

function  showMenu(){
    thisMovie("fullMenuFlash").showMeTheMoney();
}

function closeRightNow(){
var target = document.getElementById("FullMenu");
	target.style.visibility="hidden";
}

function thisMovie(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[movieName]
    }
    else {
        return document[movieName]
    }
}



