/*if( document.domain.indexOf( "pfsystems.com.au" ) != -1 )
{
document.domain = "pfsystems.com.au" ;
}*/
var m_pnlinks;
var m_mhFixed = false;
var m_mda = null;
var m_production = true;
var m_menudef = "/content/public/menu.aspx";
var m_avgChW = 6;
var m_crumbRegEx1 = /<.*>/g;
var m_crumbRegEx2 = /&nbsp;/g;
var m_crumbRegEx3 = /&~ck=bt/g;
var m_subNavLinksDisplay = false;
var m_subNavIconsDisplay = false;
var m_largeFont = false;
var m_supressSubNav = false;
var m_stdEmpty = "";
var m_stdOffImg;
var m_mastheadWidth = 728;
var m_tabNav = true;
var m_subNavLinkWidth = null;
var m_tabContentDiv = null;
var m_timeoutDelay = null;
var loaded = new Array();
var onloadFired = false;
var m_isRtl = false;
var m_isCenter = false;
var m_isPopupIntention = false;
function writeMH(segmentTitle, hasLocale, logoLink, pnmsg )
{
document.writeln ( "<!-- begin masthead -->" );
m_mastheadWidth = 728;
/*if(m_isCenter)
{
document.writeln ( "<!-- start center align -->" );
document.writeln ( "<table style=\"margin-left:auto;margin-right:auto\"><tr><td>" );
}*/
autoconfig();
if( m_largeFont )
{
m_avgChW = m_avgChW + 2;
}
m_mhFixed = true;
/*document.writeln( "<a name=\"mastheadtop\"></a>" );
//document.write( "<table id=\"masthead\" width=\"" + m_mastheadWidth + "\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">" );
document.write( "<table id=\"masthead\" width=\"" + m_mastheadWidth + "\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">" );
document.write( "<tr><td valign=\"bottom\" rowspan=\"2\">" );
document.write( "<div class=\"logocontainer\" id=\"logocontainer\">" );
document.write( "<a href=\"#skipMH\"><img src=\"" + "delltest/images/spacer.gif\" alt=\"Skip to main content\" border=\"0\" width=\"1\" height=\"1\" /></a>" );
document.write( "</div></td><td valign=\"top\" " + ((typeof(m_menuBar) != "undefined" && m_menuBar && m_menuBar.length > 0) ? "colspan=\"2\"" : "") + "><table id=\"pbarstriptable\" width=\"" + (m_mastheadWidth - 109) + "\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\"><tr><td>" );
//renderBuyOnline();
document.write( "</td><td><div style=\"height:20px;\" /></td><td nowrap=\"true\" valign=\"top\">" );
var ticks = new Date();
document.write( "</td></tr></table></td></tr><tr>" );
document.write( "<td>" );
document.write( "</td></tr><tr><td colspan=\"3\">" );
document.write( "<div class=\"subnavcontainernomenu\" id=\"subnav\" ><img src=\"" + "delltest/images/spacer.gif\" border=\"0\" alt=\"\" height=\"5\" width=\"1\" /></div>" );
if( m_pnlinks && m_subNavLinksDisplay && (!m_supressSubNav) )
{
document.write( "<div class=\"secondarynavcontainer\">" );
renderSubNavLinks();
document.write( "</div>" );
}*/
/*if( m_mda )
{
document.write( "<div class=\"mdabarcontainer\" id=\"mdabar\">" );
document.write( "<span class=\"mdainfo\">" );
document.write( m_mda );
document.write( "</span>" );
document.write( "</div>" );
}*/
/*document.write( "<div class=\"breadcrumbcontainer\">" );
renderHomepageCrumbs();
document.write( "</div>" );
document.write ( "</td></tr></table>" );
document.write ( "<a name=\"skipMH\"></a>" );
document.writeln ( "<!-- end masthead -->" );*/
}
var isCSS = false;
var isW3C = false;
var isIE4 = false;
var isNN4 = false;
var isIE6 = false;
var isGecko = false;
var isOpera = false;
var isDHTML = false;
var suppressMenus = false;
var legacyMode = false;
var timerID = null;
var subtimerID = null;
var m_anchorClicked = false;
/*function addBookMark()
{
if ( window.external )
{
window.external.AddFavorite( document.location.href,document.title );
}
else
{
alert( "Sorry, your browser doesn't support bookmarking this page...\n\nPlease try pressing Control + D instead" );
}
}*/
function autoconfig()
{
if( document && document.images )
{
isCSS = (document.body && document.body.style) ? true : false;
isW3C = (isCSS && document.getElementById) ? true : false;
isIE4 = (isCSS && document.all && readIEVer() >= 4.0) ? true : false;
isNN4 = (document.layers) ? true : false;
isGecko = (isCSS && navigator && navigator.product && navigator.product == "Gecko");
isOpera = (isCSS && navigator.userAgent.indexOf( "Opera") != -1 );
isIE6CSS = (document.compatMode && document.compatMode.indexOf("CSS1") >= 0) ? true : false;
isIE6 = ( isIE6CSS && readIEVer() >= 6.0 );
isDHTML = isCSS && ( isIE4 || isGecko || isOpera );
if( suppressMenus )
{
isDHTML = false;
}
else if( isOpera && readOperaVer() < 7 )
{
isDHTML = false;
}
else if( isGecko && navigator.productSub <= 20011022 )
{
isDHTML = false;
}
else if( isGecko && navigator.productSub == 20030107 )
{
var x = navigator.userAgent.indexOf( "AppleWebKit" );
if( x > -1 )
{
isDHTML = ( navigator.userAgent.substring( x + 12, x + 15 ) ) > 300;
}
else
{
isDHTML = false;
}
}
}
}
function readIEVer()
{
var agent = navigator.userAgent;
var offset = agent.indexOf( "MSIE" );
if( offset < 0 )
{
return 0;
}
return parseFloat( agent.substring( offset + 5, agent.indexOf( ";", offset ) ) );
}
function readOperaVer()
{
var agent = navigator.userAgent;
var offset = agent.indexOf( "Opera" );
if( offset < 0 )
{
return 0;
}
return parseFloat( agent.substring( offset + 6 ) );
}
function winopen(url,stuff,morestuff)
{
var popwin = window.open(url,stuff,morestuff);
if( typeof(popwin) != "undefined" && popwin )
{
popwin.focus();
}
lastPopup = popwin;
}
function Bandwidth()
{
if( readIEVer() < 5.0 || isOpera || navigator.appVersion.toLowerCase().indexOf("win") == -1 )
{
return "NA";
}
document.body.addBehavior ("#default#clientCaps");
if ( typeof( document.body.connectionType) != "undefined" )
{
if ( document.body.connectionType == "modem" )
{
return "Modem";
}
return "Lan";
}
}
function fixup_FragHeight()
{
}
function getQueryVariable(variable)
{
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++)
{
var pair = vars[i].split("=");
if (pair[0] == variable)
{
return pair[1];
}
}
}
function renderHomepageCrumbs( footer )
{
document.write( "<div class=\"para_crumb_43\" style=\"padding-bottom:4px;padding-top:4px;\">" );
if(m_isRtl)
{
crumbStyle = "right";
crumbPadding = "left"
}
else
{
crumbStyle = "left";
crumbPadding = "right";
}
document.write("<div style=\"padding-"+ crumbPadding +":3px;font-weight:bold;float:" + crumbStyle + "\">" + getYouAreHereHome() + ":&nbsp;</div>" );
/*if( flag )
{
document.write( "<div style=\"float:" + crumbStyle + ";padding-"+ crumbPadding +":3px\"><img src=\"" + "http://i.dell.com" + "/images/global/masthead/smlflags/" + flag + ".gif\" alt=\"" + m_ctryShort + "\" border=\"0\" /></div>");
}*/
document.write( "<div style=\"float:" + crumbStyle + "\" class=\"crumbsel43\">" + m_ctryShort + "</div>" );
document.write( "</div>" );
}
/*function getYouAreHereHome()
{
if ( typeof ( m_youAreHere ) != "undefined" )
{
return m_youAreHere;
}
return "";
}
function addOnLoad( fn )
{
if ( onloadFired )
{
return;
}
if( window.onload )
{
if( window.onload != safeLoad )
{
loaded[0] = window.onload;
window.onload = safeLoad;
loaded[ 1 ] = fn;
}
else
{
loaded[ loaded.length + 1 ] = fn;
}
}
else
{
window.onload = fn;
}
}*/
function safeLoad()
{
onloadFired = true;
for( var i=0;i<loaded.length;i++ )
{
if( loaded[i] != undefined )
{
loaded[i]();
}
}
}

