AbsoluteUrl=location
AbsoluteUrl=unescape(AbsoluteUrl)
AbsoluteUrl = AbsoluteUrl.split("\\").join("/"); 
AbsoluteUrl=AbsoluteUrl.substring(0,AbsoluteUrl.lastIndexOf("/subject/")+1)



document.write('<div id="footer">');
document.write('	<div id="siteCopyright"></div>');
document.write('</div>');

var flashvars = {};
var params = {allowscriptaccess:"always",wmode:"opaque"};
var attributes = {id:"flvplayer",name:"flvplayer"};
swfobject.embedSWF(AbsoluteUrl+"swf/template_end.swf", "siteCopyright", "1002", "43", "10.0.0", "expressInstall.swf", flashvars, params, attributes);

/*
document.write('<div class="footer">');
document.write('	<object id="siteCopyright" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1002" height="43">');
document.write('		<param name="movie" value="'+AbsoluteUrl+'swf/template_end.swf">');
document.write('		<param name="quality" value="high">');
document.write('		<param name="wmode" value="opaque">');
document.write('		<param name="swfversion" value="9.0.45.0">');
document.write('		<param name="expressinstall" value="Scripts/expressInstall.swf">');
document.write('		<object type="application/x-shockwave-flash" data="'+AbsoluteUrl+'swf/template_end.swf" width="1002" height="43">');
document.write('			<param name="quality" value="high">');
document.write('			<param name="wmode" value="opaque">');
document.write('			<param name="swfversion" value="9.0.45.0">');
document.write('			<param name="expressinstall" value="Scripts/expressInstall.swf">');
document.write('		</object>');
document.write('</object>');
document.write('</div>');
*/


var arrayObject= document.getElementsByTagName("object");
for(i=0;i<arrayObject.length;i++){
	if(navigator.userAgent.indexOf('MSIE')>0 && arrayObject[i].type=="application/x-shockwave-flash"){
		arrayObject[i].style.display='none';
	}
	//alert(arrayObject[i].type);
}

googlecode="<script>"
googlecode+="var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\");"
googlecode+="document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));"
googlecode+="try {"
googlecode+="var pageTracker = _gat._getTracker(\"UA-9936909-1\");"
googlecode+="pageTracker._trackPageview();"
googlecode+="} catch(err) {}"
googlecode+="</script>"

$("body").append(googlecode);

//2011-4-26 cig-duansf
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22936215-1']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);

(function () {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
