if (Vricks.param.depth1 == null || typeof(Vricks.param.depth1) == "undefined" || Vricks.param.depth1 == "") {
	depth1 = 0;
} else {
	depth1 = Vricks.param.depth1;
}

if (Vricks.param.depth2 == null || typeof(Vricks.param.depth2) == "undefined" || Vricks.param.depth2 == "") {
	depth2 = 0;
} else {
	depth2 = Vricks.param.depth2;
}

if (Vricks.param.depth3 == null || typeof(Vricks.param.depth3) == "undefined" || Vricks.param.depth3 == "") {
	depth3 = 0;
} else {
	depth3 = Vricks.param.depth3;
}

if (Vricks.param.login_flag == null || typeof(Vricks.param.login_flag) == "undefined" || Vricks.param.login_flag == "") {
	login_flag = 0;
} else {
	login_flag = Vricks.param.login_flag;
}
if (Vricks.param.menu_chk == null || typeof(Vricks.param.menu_chk) == "undefined" || Vricks.param.menu_chk == "") {
	menu_chk = 0;
} else {
	menu_chk = Vricks.param.menu_chk;
}

document.write(	'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="211" height="100%" id="flash_sub">' +
				'<param name="allowScriptAccess" value="sameDomain" />' +
				'<param name="movie" value="/include/flash/flash_sub.swf?menu_chk='+menu_chk+'&depth1='+depth1+'&depth2='+depth2+'&depth3='+depth3+'&login_flag='+login_flag+'" />' +
				'<param name="quality" value="high" />' +
				'<param name="wmode" value="transparent" />' +
				'<embed src="/include/flash/flash_sub.swf?menu_chk='+menu_chk+'&depth1='+depth1+'&depth2='+depth2+'&depth3='+depth3+'&login_flag='+login_flag+'" quality="high" wmode="transparent" width="211%" hieght="100%" name="flash_main" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
				'</object>');

//alert("depth1: " +depth1+" , depth2: "+depth2+", depth3: "+depth3+", login_flag: "+login_flag)
