// JavaScript Document

// Tab Nav Hover

<!--//--><![CDATA[//><!--

sfHover = function() 
{
	var sfEls = document.getElementById("menu").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) 
	{
		sfEls[i].onmouseover=function() 
		{
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() 
		{
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>

// Function to perform validation on pre-registration form
function FormValidator(form1)
{

  if (form1.Name.value == "")
  {
    alert("Please enter your name.");
    form1.Name.focus();
    return (false);
  }

  if (form1.Title.value == "")
  {
    alert("Please enter your title.");
    form1.Title.focus();
    return (false);
  }
  
  if (form1.Company.value == "")
  {
    alert("Please enter your company name.");
    form1.Company.focus();
    return (false);
  }

  if (form1.ContactEmail.value == "")
  {
    alert("Please enter your email address.");
    form1.ContactEmail.focus();
    return (false);
  }


  if (!isEmailAddr(form1.ContactEmail.value))
  {
    alert("Please enter a complete email address in the form: yourname@yourdomain.com");
    form1.ContactEmail.focus();
    return (false);
  }
   
  if (form1.ContactEmail.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"email\" field.");
    form1.ContactEmail.focus();
    return (false);
  }
  
    if (form1.Phone.value == "")
  {
    alert("Please enter your phone number.");
    form1.Phone.focus();
    return (false);
  }

  if ( ( document.form1.Interest[0].checked == false )
    && ( document.form1.Interest[1].checked == false ) )
    {
        alert ( "Please tell us your primary interest." );
       return (false);
    }
	
	
if ( ( document.form1.Denver.checked == false )
	  && ( document.form1.NYC.checked == false )
	  && ( document.form1.Denver.checked == false )
	  && ( document.form1.Chicago.checked == false )
	  && ( document.form1.Boston.checked == false )
	  && ( document.form1.Atlanta.checked == false )
	  && ( document.form1.Philadelphia.checked == false )
	  && ( document.form1.Seattle.checked == false )	// IMM 022608 Added
	  && ( document.form1.Dallas.checked == false )
	  && ( document.form1.SanFrancisco.checked == false )
	  && ( document.form1.Washington.checked == false ) )

    {
        alert ( "Please specify at least one city." );
       return (false);
    }

  return (true);
}

// Function to retrieve value of url argument
function getUrlArg( varName )
{
	var sVal = "";
	var sUrl = new String(self.document.location);
	var aUrl = sUrl.split('?');

	if (aUrl.length > 1)
	{
		var aVar = aUrl[1].split('&');
		for (var iVar = 0; iVar < aVar.length; iVar++)
		{
			var aCur = aVar[iVar].split('=');
			if (aCur[0] == varName)
				sVal = aCur[1];
		}
	}
	return sVal;
}

function setCookieValue(name,value)
{
	document.cookie = name + "=" + value;
}

// Get cookie routine by Shelley Powers 
function getCookieValue(Name) 
{
	var search = Name + "="
	var returnvalue = "";

	if (document.cookie.length > 0) 
	{
		offset = document.cookie.indexOf(search)

		// if cookie exists
		if (offset != -1) 
		{ 
			offset += search.length
			
			// set index of beginning of value
			end = document.cookie.indexOf(";", offset);
			
			// set index of end of cookie value
			if (end == -1) 
				end = document.cookie.length;
			
			returnvalue=unescape(document.cookie.substring(offset, end))
		}
	}
	
	return returnvalue;
}

// IMM 11.21.08 Handles generating random testimonial for events homepage block at bottom of right column
$(document).ready(function()
{
	// IMM 11.24.08 Determine if EUCA url argument passed, if so store to session cookie
	var sEUCA = getUrlArg("EUCA");
	if (sEUCA != "")
		setCookieValue("EUCA", sEUCA);

	// Setup variables for windows
	iWinWdt = 964;
	iWinHgt = 500;
	iWinLft = (screen.width - iWinWdt) / 2;
	iWinTop = (screen.height - iWinHgt) / 2;

	// IMM 11.24.08 Bind handlers for New York City 2009 registration links
	$('a.nyc09reglnk').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9NYW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.nyc09reglnkA').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9NYW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.nyc09reglnkB').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9NYW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.nyc09reglnkC').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9NYW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	
		// hls 11.02.09 Bind handlers for New York City 2010 all registration links
	$('a.nyc10reglnk').click(function()
	{
		window.open('http://www.networkworld.com/reg/ITRNYC10/RM10NYRButton','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	
		// hls 11.09.09 Bind handlers for Los Angeles 2010 all registration links
	$('a.la10reglnk').click(function()
	{
		window.open('http://www.networkworld.com/reg/RM10LA/RM10LARButton','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	
	// IMM 11.24.08 Bind handlers for Denver 2009 registration links
	$('a.dnv09reglnk').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9DVW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.dnv09reglnkA').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9DVW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.dnv09reglnkB').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9DVW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.dnv09reglnkC').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9DVW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});

	// IMM 11.24.08 Bind handlers for Chicago 2009 registration links
	$('a.chi09reglnk').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9CW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.chi09reglnkA').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9CW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.chi09reglnkB').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9CW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.chi09reglnkC').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9CW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});

	// IMM 02.04.09 Bind handlers for Boston 2009 registration links
	$('a.bst09reglnk').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9BW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.bst09reglnkA').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9BW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.bst09reglnkB').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9BW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});
	$('a.bst09reglnkC').click(function()
	{
		window.open('http://www.networkworld.com/events/register.html?NWER=RM9BW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes');
	});

	// IMM 03.11.09 Bind handlers for Atlanta 2009 registration links
	var sUrl = new String(window.location);
	$('a.atl09reglnkB').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	$('a.atl09reglnkC').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	if (sUrl.indexOf("/events/2009/atlanta/") > -1)	// IMM 03.11.09
	{
		$('a.atl09reglnkA').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.atl09reglnkD').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.atl09reglnkE').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW5','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.atl09reglnkF').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW6','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.atl09reglnkG').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW7','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.atl09reglnkH').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW8','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.atl09reglnkI').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW9','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.atl09reglnkJ').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9AW10','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	}
	
	// HLS 04.08.09 Bind handlers for Philadelphia 2009 registration links
	var sUrl = new String(window.location);
	$('a.phi09reglnkB').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	$('a.phi09reglnkC').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	if (sUrl.indexOf("/events/2009/philadelphia/") > -1)	// HLS 04.08.09
	{
		$('a.phi09reglnkA').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.phi09reglnkD').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.phi09reglnkE').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW5','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.phi09reglnkF').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW6','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.phi09reglnkG').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW7','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.phi09reglnkH').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW8','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.phi09reglnkI').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW9','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.phi09reglnkJ').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9PW10','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	}

	// HLS 05.28.09 Bind handlers for Dallas 2009 registration links
	var sUrl = new String(window.location);
	$('a.dal09reglnkB').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW5','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	$('a.dal09reglnkC').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW6','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	if (sUrl.indexOf("/events/2009/dallas/") > -1)	// HLS 04.08.09
	{
		$('a.dal09reglnkA').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW7','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dal09reglnkD').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dal09reglnkE').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW10','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dal09reglnkF').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW8','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dal09reglnkG').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW9','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dal09reglnkH').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dal09reglnkI').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dal09reglnkJ').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	}
	
	// HLS 06.12.09 Bind handlers for Seattle 2009 registration links
	var sUrl = new String(window.location);
	$('a.sea09reglnkB').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	$('a.sea09reglnkC').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	if (sUrl.indexOf("/events/2009/seattle/") > -1)	// HLS 06.12.09
	{
		$('a.sea09reglnkA').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sea09reglnkD').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sea09reglnkE').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW5','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sea09reglnkF').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW6','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sea09reglnkG').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW7','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sea09reglnkH').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW8','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sea09reglnkI').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW9','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sea09reglnkJ').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SW10','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	}

	// HLS 07.17.09 Bind handlers for Washington DC 2009 registration links
	var sUrl = new String(window.location);
	$('a.dc09reglnkB').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW5','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	$('a.dc09reglnkC').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW6','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	if (sUrl.indexOf("/events/2009/washingtondc/") > -1)	// HLS 07.17.09
	{
		$('a.dc09reglnkA').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW7','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dc09reglnkD').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dc09reglnkE').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW10','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dc09reglnkF').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW8','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dc09reglnkG').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW9','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dc09reglnkH').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dc09reglnkI').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.dc09reglnkJ').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9DCW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	}
	
	// HLS 09.02.09 Bind handlers for San Francisco 2009 registration links
	var sUrl = new String(window.location);
	$('a.sf09reglnkB').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW5','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	$('a.sf09reglnkC').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW6','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	if (sUrl.indexOf("/events/2009/sanfrancisco/") > -1)	// HLS 09.02.09
	{
		$('a.sf09reglnkA').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW7','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sf09reglnkD').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW3','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sf09reglnkE').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW10','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sf09reglnkF').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW8','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sf09reglnkG').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW9','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sf09reglnkH').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW4','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sf09reglnkI').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW2','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
		$('a.sf09reglnkJ').click(function() { window.open('http://www.networkworld.com/events/register.html?NWER=RM9SFW1','_regwin','top=' + iWinTop + ',left=' + iWinLft + ',width=' + iWinWdt + ',height=' + iWinHgt + ',scrollbars=yes,resizable=yes'); });
	}

	var gaTstLst = new Array(6);

	gaTstLst[0] = "&quot;The Presentations I attended at IT Roadmap Atlanta were phenomenal. The speakers were very knowledgeable and able to convey that knowledge through their presentation. I look forward to the next IT Roadmap Presentation in Atlanta.&quot;|Eric G. Bonner IT Manager MC Precast, Inc.";
	gaTstLst[1] = "&quot;Network World offers an economical opportunity for some excellent insight into the world of technology that is relevant in today&apos;s business.&quot;|Ray Fontenault AVP; Specialist Information Security Consultant Bank Of America";
	gaTstLst[2] = "&quot;It was great to see the vendor offerings in person. You can only get so much out of a website visit, but seeing the products live and then being able to ask questions and get answers is very helpful.&quot;|Dennis Heger Application Security Team Lead Partners HealthCare";
	gaTstLst[3] = "&quot;IT Roadmap excels at spurring the mind for current and future trends in the industry with a great mix of industry experts combined with real world customer case studies. With the broad range of topics, you need to bring your whole team to get exposed to all of the content presented.&quot;|Chuck Julian Senior Lead Network Infrastructure Analyst Welch Foods, Inc.";
	gaTstLst[4] = "&quot;It is hard to find a one day event that is on topic and delivers, this one did. Did I also mention it was free!&quot;|Jerry Justice IT Director SS&amp;G Financial Services, Inc.";
	gaTstLst[5] = "&quot;Attending this event in a single venue provided me an opportunity to hear about products from several different vendors we are considering for WAN Acceleration.&quot;|Anita Nikolich Sr Manager, Computer Sciences Corporation";

	var iCurTst = Math.floor(gaTstLst.length * Math.random());
	var aTstEnt = gaTstLst[iCurTst].split('|');
	//document.write('<div class="TstEnt">' + aTstEnt[0] + '</div><div class="TstPer">' + aTstEnt[1] + '</div>');
	$('<div class="TstEnt">' + aTstEnt[0] + '</div>').appendTo('div#testimonial');
	$('<div class="TstPer">' + aTstEnt[1] + '</div>').insertAfter('div.TstEnt');
});