/*
	//如果只有一个参数，就用这个。
	function getParameter(){
		var url=window.location .href;
		var aa=url.indexOf('=');
		
		if (aa == -1)
		return "";
		url=url.substring(aa+1);
		alert(url.substring(aa+1));
	}
*/
//打开地图
function say(txt){
window.open('http://channel.mapabc.com/bd/getUrl/pointInfoHandle.jsp?x=JILMSMPVMQHHHH&y=KKGPTLHSKHLHL&t=%E5%B9%BF%E5%B7%9E%E5%B0%9A%E9%80%B8%E5%AE%B6%E5%B1%85%E7%94%A8%E5%93%81%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8&c=%E5%A4%A9%E6%B2%B3%E5%8C%97%E8%B7%AF368%E5%8F%B7%E9%83%BD%E5%B8%82%E5%8D%8E%E5%BA%AD%E6%97%A5%E5%BD%A9%E8%BD%A918C&u=1.png',txt,'width=710,height=512,left=100,top=100,scrollbars=yes, resizable=1,location=0, status=yes');
}
//添加收藏夹
function Add_url(title){
url = "http://www.lovejiaju.com"; 
window.external.AddFavorite(url,title); 
-->
}
//设置首页
function setHome(obj){
alert("对不起,您的浏览器禁止了!"+ "\n");
this.style.behavior="url(#default#homepage)"; 
this.setHomePage('http://www.lovejiaju.com');
}
//积分提示
function msg(txt){
alert(txt+ "\n");
//alert("感谢您关注，积分系统稍后启用。!"+ "\n");
}

function myhomepage(indexurl){	
this.homepage.style.behavior='url(#default#homepage)';
this.homepage.sethomepage("http://www.lovejiaju.com");
}

function getParameter(param){

}
var pas
var types
var movename
	
var params ={
//这句是为了全屏方便的
allowscriptaccess: 'always',
//允许脚本访问
allowfullscreen: 'true'
//如需全屏
     };

var flashvars ={
//FLASH+变量值
//哦这个参数可能不重要，但是下面为swfobject.embedSWF方便调用
/*file: file,
bufferlength: '1',
shuffle: 'false',
repeat: 'true',
playlist: 'none',
skin: '/shared/flash_video/skins/snel_dmg.swf',
autostart: 'true',
fullscreen: 'true',
volume: '100',
quality: 'true'*/
};

var attributes ={
//属性
/*
id: 'playerId',
name: 'playerId'
*/
};
	function swfs(){
	if ((getParameter("pas")=="") || (getParameter("types")=="") || (getParameter("movename")=="")){
	 swf();
	}else{
	 swf();
	}
	}

swfs();
function swf(){
swfobject.embedSWF("home.swf?pas="+getParameter("pas")+"&types="+getParameter("types")+"&movename="+getParameter("movename")+".flv", "mySWF", "100%", "100%", "9.0.0", false, flashvars, params, attributes);//取得某些参数
}
