﻿/*User Agent Checker*/
if (navigator.userAgent.indexOf("Mac")>=0){
	/*mac ie*/
	if(navigator.userAgent.indexOf('MSIE ')>=0) {
	}
	/*other mac*/
	else {		
		document.write("<script type='text/javascript' src='/common/js/plugin/jquery.newsticker.js'></script>");
	}
}
/*win ie*/
else if(navigator.userAgent.indexOf('MSIE ')>=0) {
	var p=navigator.userAgent.indexOf('MSIE ');
	var v=parseInt( navigator.userAgent.substring(p+5, p+6) );
	/*win before ie6*/
	if(v<6) {
	}
	/*win other ie*/
	else {
		document.write("<script type='text/javascript' src='/common/js/plugin/jquery.newsticker.js'></script>");
	}
}
/*other win*/
else {
	document.write("<script type='text/javascript' src='/common/js/plugin/jquery.newsticker.js'></script>");
}