function parse_str(str,para){
	var para_arr=new Array();
	var tmp_arr2;
	var first_char=str.substr(0,1);
	if(first_char=='?')
		str=str.substr(1);
	var tmp_arr1=str.split("&");
	for(var i=0;i<tmp_arr1.length;i++){
		tmp_arr2=tmp_arr1[i].split('=');
		para_arr[tmp_arr2[0]]=tmp_arr2[1];
	}
	if(typeof(para)=="undefined")
		return para_arr;
	else
		return para_arr[para];
}
 function showlayer3(layer_name)
  { 
	var hidden_layer = document.getElementById(layer_name);
    hidden_layer.style.display=hidden_layer.style.display==""?"none":"";
  }

  function showlayer1(layer_name)
  { 
	var hidden_layer = document.getElementById(layer_name);
    hidden_layer.style.display="";
    document.getElementById('v_all').style.display="";
    document.getElementById('s_all').style.display="none";
  }
  
  function showlayer2(v_name){
  	//alert(v_name);
  	var hidden_layer = document.getElementById(v_name);
  	//alert(document.getElementById('s_all'));
  	document.getElementById('s_all').style.display="";
  	document.getElementById('v_all').style.display="none";
  	hidden_layer.style.display='none';
  	//alert (hidden_layer);
  }
  
  
  function copyToClipBoard(){
    var clipBoardContent="";
    clipBoardContent+=window.location.href;
    if (window.clipboardData){
    	if(window.clipboardData.setData("Text",clipBoardContent)){
    		alert("复制成功！");   
    	}
    }else{
    	var flashcopier = 'flashcopier';
		if(!document.getElementById(flashcopier)) {
    		var divholder = document.createElement('div');
    		divholder.id = flashcopier;
    		document.body.appendChild(divholder);
		}
		document.getElementById(flashcopier).innerHTML = '';
		clipBoardContent = clipBoardContent.replace(/\"/g,'\'');
		var divinfo = '<embed src="/_clipboard.swf" FlashVars="clipboard='+clipBoardContent+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
		document.getElementById(flashcopier).innerHTML = divinfo;
		alert("复制成功！");
   }
}
  function re_url_act(page,num,url){
  	
         var a=page;
     document.location.href="http://driver.zol.com.cn/"+url+a+".html";
     return false;
        
  }
           
