function closeEmailErrorPopup(){
 if($('signUpResultsNotificationSection')){
	 $('signUpResultsNotificationSection').innerHTML = "";
	 $('signUpResultsNotificationSection').hide();
	 }
 }

 function displayZipDesc(){
 	$('signUpResultsNotificationSection').show();
 	$('signUpResultsNotificationSection').innerHTML = "<h3 class='zipCodeTitle'>Why do we need your zip?</h3><ul class='input-set'><li><span class='quickEmailErrorMsg'>Giving us your zip code will allow us to let you know about Sony events and Sony Store openings in your area.</span></li></ul><div class='okButton' onClick='closeEmailErrorPopup();'/>";
 }

 //browser detection with prototype:
 Prototype.Browser.IE6 = Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5)) == 6;
 Prototype.Browser.IE7 = Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5)) == 7;
 Prototype.Browser.IE8 = Prototype.Browser.IE && !Prototype.Browser.IE6 && !Prototype.Browser.IE7;


/*
//adding dynamic loader.
// AJ
//note that we are still secured behind the "cross domain" scripting security.
//this will only allow us to dynamically load JS files on the current domain.
*/
//creating a namespace to avoid JS collisions.
var ssCoreUtil = {};
ssCoreUtil.dynamicLoader = function(filename, filetype)
	{
 	if (filetype=="js"){ //if filename is a external JavaScript file
  		var fileref=document.createElement('script')
  		fileref.setAttribute("type","text/javascript")
  		fileref.setAttribute("src", filename)
 	}
 	else if (filetype=="css"){ //if filename is an external CSS file
  		var fileref=document.createElement("link")
  		fileref.setAttribute("rel", "stylesheet")
  		fileref.setAttribute("type", "text/css")
  		fileref.setAttribute("href", filename)
 	}
 	if (typeof fileref!="undefined")
  		document.getElementsByTagName("head")[0].appendChild(fileref)
}

//* adding this omniture procedure to core_functions.js  since some pages
// utilize this function before omniture.js is loaded completely. (IE7 and IE6 are sensitive )

// To store the eSpotPageImpressionsList
var eSpotPageImpressionsList = "";
function setEspotPageImpressionsList(espotName) {
    eSpotPageImpressionsList = eSpotPageImpressionsList + espotName;
}

