
function gnhomepage() {

var name = navigator.appName;
var useragent = navigator.userAgent;
var version = parseInt(navigator.appVersion);
if ( useragent.indexOf("MSIE") != -1) {
var macIndex = navigator.userAgent.toLowerCase().indexOf("mac");
if ( macIndex != -1 ) {
}
else {
var index = navigator.userAgent.indexOf("MSIE ");
if ( index != -1 ) {
version = parseInt(navigator.userAgent.substring(index+5,index+6));
}
if ( version == 4) {
window.open('http://www.gazettenet.com/info/');
}
else if ( version > 4) {
oHomePage.setHomePage('http://www.gazettenet.com');
document.location='http://www.gazettenet.com';
}
}
}
else {
if ( version < 4 ) {
}
else { open('http://www.dailyhampshiregazette.com');
}
}

}

