<!--//--><![CDATA[//><!--
// Set Home Page
var isMozilla = !(document.all);
var isBeingDragged = false;
function setHome() {
if(navigator.appName!="Microsoft Internet Explorer" && navigator.appName!="Netscape")
{
alert("From the browser menu,Select Preferences->General tab's Home Page entry box, type www.GoldenTwine.com and click OK");
}else{
document.body.style.behavior='url(#default#homepage)';
document.body.setHomePage("http://www.GoldenTwine.com");
}
return false;
}
function firefoxAlert() {
if(navigator.appName!="Microsoft Internet Explorer" && navigator.appName!="Netscape")
{
alert("From the browser menu,Select Tools->Preferences->General tab's Home Page entry box, type www.GoldenTwine.com and click OK");
}else{
alert('To set GoldenTwine as your home page in Firefox, click and drag the button to the "Home" icon in your browser.');
}
return false;
}

var action = document.getElementById('sethomepage_new');
var currentTime = new Date();
var hours = currentTime.getHours();
if (!isMozilla) {
action.innerHTML = '<a href="http://www.GoldenTwine.com/" style="line-height:14px;font-size:10px;" class="bold" onClick="return setHome();">Make GoldenTwine your homepage</a>';
}
if (isMozilla) {
action.innerHTML = '<a href="http://www.GoldenTwine.com" class="bold"  style="line-height:14px;font-size:10px;" onClick="return firefoxAlert();" id="firefoxlink">Make GoldenTwine your homepage</a>';
var firefoxlink = document.getElementById('firefoxlink');
firefoxlink.onmousedown = function() {
isBeingDragged = true;
}
}
window.onmouseup = function() {
isBeingDragged = false;
}
//--><!]]>
