var TickTitleHlColor = "#008000";
var TickTitleColor = "#0000FF";
var IE = (navigator.appName.indexOf("Microsoft")!=-1);
if ((navigator.userAgent.indexOf("MSIE")!=-1) && (navigator.userAgent.indexOf("Opera")==-1))
{
// set the hover on colour to the same as the foreground colour of the "A.hover" element in the system stylesheet
for (i = 0; i < document.styleSheets.length; i++)
{
for (j = 0; j < document.styleSheets(i).rules.length; j++)
{
if (document.styleSheets(i).rules.item(j).selectorText=="A:hover")
{
// we found the style, so set the hover on colour
TickTitleHlColor = document.styleSheets(i).rules.item(j).style.color;
}
}
}
// set the hover off colour to the same as the foreground colour of the ".vmhtitle" element in the vm stylesheet
for (i = 0; i < document.styleSheets.length; i++)
{
for (j = 0; j < document.styleSheets(i).rules.length; j++)
{
if (document.styleSheets(i).rules.item(j).selectorText==".vmhtitle")
{
// we found the style, so set the hover off colour
TickTitleColor = document.styleSheets(i).rules.item(j).style.color;
}
}
}
}
function toHover(obj){if (IE) {obj.style.color = TickTitleHlColor}}
function toNormal(obj){if (IE) {obj.style.color = TickTitleColor}}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
var oNewWindow;
oNewWindow = null;
function newspopup(strLocation) {
var strPosition;
if (strLocation == "")
{
strPosition = 'fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=2000,top=2000,width=10,height=10';
}
else
{
strPosition = 'fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=' + (screen.width-750)/2 + ',top=' + (screen.height-550)/2 + ',width=750,height=510';
}
oNewWindow = window.open(strLocation, 'VMNews', strPosition);
if (strLocation == "")
{
window.focus();
}
}
function closepopup()
{
if (oNewWindow != null && oNewWindow.document.title != "News")
{
oNewWindow.close();
oNewWindow = null;
}
}
window.onerror = function() {oNewWindow=null;};
document.write('');
document.write('