// NOTE: If you use a ' add a slash before it like this \'
// ONLY USE lowercase FOR ALL OPTIONS
// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON

/*
var flashcolor		= "000000"	// FLASH BACKGROUND COLOR
var color		= "000000"	// HEADER BACKGROUND COLOR
var flashheight		= "152"		// HEIGHT OF THE FLASH (IN PIXELS) (and adjust the menu.js)
var flashwidth		= "193"		// WIDTH OF THE FLASH (IN PIXELS) (and adjust the menu.js)
*/

var LogoSideCookiePath = getCookie("LogoSideCookie");
 
 
if(LogoSideCookiePath != null && LogoSideCookiePath.split("|")[0] != "")
{	 	 	
	document.getElementById('divLogoMsg').innerHTML ='';	
	var LogoSidePath = LogoSideCookiePath.split("|")[0];
	var LogoSideLink = LogoSideCookiePath.split("|")[1]; 
	if(LogoSideLink == '')
	{ 
		document.write('<img id=TopPartnerImage border=0>');
		LogoSideLink = '/'
	}
	else
	{
		document.write('<a href="' + LogoSideLink +  ' "><img id=TopPartnerImage border=0></a>');
	}
		
		 
	document.getElementById('TopPartnerImage').src = LogoSidePath		
	document.write('<div class="AR PR4"  id="divLogoMsg"><a class="B T14 N L_Blue" href="' + LogoSideLink + '" title="דרושים AllJobs">כל המשרות בישראל!</a></div>')
}
else
{
    document.getElementById('divLogo').style.backgroundImage = "url(/images/LogoJobby.jpg)";

    document.getElementById('divLogo').style.backgroundRepeat = "no-repeat";
    document.getElementById('divLogo').style.backgroundPosition = "top";
    document.getElementById('divLogo').style.height = "30px";
    document.getElementById('divLogo').style.paddingTop = "65px";
}

if(document.location.href.indexOf("yoram.alljobs.co.il") != -1)
	{	
	document.write('<img id=TopPartnerImage border=0>');
	document.getElementById('TopPartnerImage').src = "/images/yoram.gif" ;
	document.getElementById('divLogo').style.height = "94px";
 
	}
 
function getCookie(name)
{
var prefix = name + '=';var begin = document.cookie.indexOf('; ' + prefix);if (begin == -1){begin = document.cookie.indexOf(prefix);if (begin != 0) return null;}else begin += 2;var end = document.cookie.indexOf(';', begin);if (end == -1)end = document.cookie.length;return unescape(document.cookie.substring(begin + prefix.length, end));}
