//document.write("Your browser is " +navigator.appName+ ".");
//document.write("version number " +navigator.appVersion+ ".");
var str = navigator.userAgent
//alert(str);

/*
if(str.match("Opera"))
{
document.write("<link href='css/opera.css' type='text/css' rel='stylesheet'>");
}
else if(str.match("Netscape"))
{
document.write("<link href='css/ns.css' type='text/css' rel='stylesheet'>");
}
else if(str.match("Firefox"))
{
document.write("<link href='css/ff.css' type='text/css' rel='stylesheet'>");
}
else if(str.match("Mac_PowerPC") || str.match("Safari"))
{
document.write("<link href='css/mac.css' type='text/css' rel='stylesheet'>");
}
else
{
document.write("<link href='css/ie.css' type='text/css' rel='stylesheet'>");
}
*/

// for open new window
shown=''
function OpenFile(url) {
if( shown=='' || shown.closed) {
	shown=window.open(url,'OpenFile','scrollbars=yes,status=no, high,width=500,height=500');
}
else{ 
	shown.close();
	shown=window.open(url,'OpenFile','scrollbars=yes,status=no, high,width=500,height=500');
}
}