//<![CDATA[
function autoHeight(sLeft,sRight,sStyleLeft,sStyleRight) {
	var iLeftHeight  = document.getElementById(sLeft).scrollHeight;
	var iRightHeight = document.getElementById(sRight).scrollHeight;
	var iLeftValue   = iRightHeight - iLeftHeight;
	var iRightValue  = iLeftHeight - iRightHeight;
    var	sRightContent = '#' + sStyleRight + '{ clear:both;height:' + iRightValue + 'px; width: 10px;}'
	var sLeftContent  = '#' + sStyleLeft  + '{ clear:both;height:' + iLeftValue  + 'px !important;height:' + (iLeftValue + 2) + 'px;width: 10px;}'
	document.writeln('<style type="text/css">');
	if (iLeftHeight > iRightHeight) {
		document.writeln(sRightContent);  
	} else {
		document.writeln(sLeftContent);  
	}
	document.writeln('</style>');
}

function flashElement(sName,iWidth,iHeight) {
		if (navigator.appName == 'Microsoft Internet Explorer') {
			document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + iWidth +'" height="' + iHeight + '">');
			document.writeln('<param name="movie" value="images/' + sName + '.swf" />');
			document.writeln('<param name="quality" value="best" />');
			document.writeln('<embed src="images/'+ sName + '.swf" quality="best" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + iWidth +'" height="' + iHeight + '"></embed>');
			document.writeln('<param name="wmode" value="opaque">');	
		} else {
			document.writeln('<object type="application/x-shockwave-flash" data="images/swf/'+ sName + '.swf" width="' + iWidth + '" height="' + iHeight + '">');
			document.writeln('<param name="movie" value="images/' + sName + '.swf">');
			document.writeln('<param name="wmode" value="transparent">');
			
		}
		document.writeln('</object>');
}

function mapswitch() {
	document.getElementById("guangzhoufungchoi").style.display = 'inline';
	document.getElementById("fungchoigroup").style.display = 'none';
}
function detail(url) {
	window.open(url,'product','top=50,left=50,width=350,height=406');
}
//]]>
