//function picTab(){
//var focus_width=246
//var focus_height=186
//var text_height=0
//var swf_height = focus_height+text_height;
//var pics = '';
//var links = '';
//var texts = '';
//							
//function ati(url, img, title)
//{
//if(pics != '')
//{
//	pics = "|" + pics;
//	links = "|" + links;
//	texts = "|" + texts;
//}
//
//pics = escape(img) + pics;
//links = escape(url) + links;
//texts = title + texts;
//}								
//ati('', '../images/product/flash_img.gif','' );
//ati('', '../images/product/flash_img.gif', '');		
//ati('', '../images/product/flash_img.gif', '');	
//ati('', '../images/product/flash_img.gif', '');	
//document.write('<embed src="../product/pic.swf" wmode="transparent" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"/>');
//}
// JavaScript Document
function picTab(ImgArr,width1,height1,heightNum,TitleName,UrlNum,UrlName){
	var focus_width=width1;
	var focus_height=height1;
	var text_height=heightNum;
	var focus_bg='#FFFFFF';
	var swf_height = focus_height+text_height;
	var Imgs = new Array();
	var TitleArr = new Array();
	var tempPics ='';
	var tempLinks='';
	var tempTexts='';
	if(UrlNum){
		var UrlArr = new Array();
		UrlArr = UrlName.split(',');	
	}
	Imgs = ImgArr.split(',');
	TitleArr = TitleName.split(','); 
	for(var i=0;i<Imgs.length;i++){
		tempPics = tempPics + Imgs[i] + '|';
		if(UrlNum){
			tempLinks = tempLinks + UrlArr[i] + '|';
		}else{
			tempLinks = tempLinks + Imgs[i] + '|';
		}
		tempTexts = tempTexts + TitleArr[i] + '|';
	}
	
    var pics= tempPics.substr(0,tempPics.length-1);
    var links= tempLinks.substr(0,tempLinks.length-1);
    var texts= tempTexts.substr(0,tempTexts.length-1);
	//alert(pics+'====='+links+'===='+texts);
	
	AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width',focus_width,'height',swf_height,'src','../images/include/focus','quality','high', 'bgcolor',focus_bg,'menu','false','FlashVars','pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height,'wmode','opaque','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','../images/include/focus'); 
	
    document.write('<noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="'+ focus_width +'" height="'+ swf_height +'">');
    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="../images/include/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#fffff">');
    document.write('<param name="menu" value="false"><param name=wmode value="transparent">');
    document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
    document.write('<embed src="../images/include/focus.swf" wmode="opaque" FlashVars="texts='+texts+'&pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="'+ focus_bg +'" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />');
	document.write('</object></noscript>');
}
