startList = function()
	{
	var is_ie = navigator.appName=="Microsoft Internet Explorer";
	var navRoot = document.getElementById("menu");
	var width =  (document.body.clientWidth-790)/2 +"px";
	if (document.getElementById) 
		{
		for (i=0; i<navRoot.childNodes.length; i++)
			{
  			node = navRoot.childNodes[i];
  			if (node.nodeName=="LI")
				{
				if (is_ie)
					{
  					node.onmouseover=function() {this.className+=" over";}
 	 				node.onmouseout=function() {this.className=this.className.replace(" over", "");}
					}
				if (node.childNodes[1])
					if (node.childNodes[1].nodeName=="UL")
						node.childNodes[1].style.left = width;	
   				}
  			}
		var imgs_ = document.getElementsByTagName("img");
		for (i=0;i<imgs_.length;i++)
			{
			image = imgs_[i];
			if (image.className=="desc_image" && (!(location.search=="?az=index&p=7&t=21" || location.search=="?az=index&p=7&t=103" || location.search.match("store")!=null)))
				image.className = "";
			}
 		}
	setInterval("blink();",700);
	}
resize = function()
	{
	var is_ie = navigator.appName=="Microsoft Internet Explorer";
	var navRoot = document.getElementById("menu");
	var width =  (document.body.clientWidth-790)/2 +"px";
	if (document.getElementById) 
		{
		for (i=0; i<navRoot.childNodes.length; i++)
			{
  			node = navRoot.childNodes[i];
  			if (node.nodeName=="LI")
				{
				if (node.childNodes[1])
					if (node.childNodes[1].nodeName=="UL")
						node.childNodes[1].style.left = width;		
   				}
  			}
 		}
	}

window.onresize = resize;

function pop_win(objx)
	{
	if (objx.getAttribute('rel')!="")
		rel = objx.getAttribute("rel");
	else
		rel = objx.rel;
	if (location.search=="?az=index&p=7&t=21" || location.search=="?az=index&p=7&t=103" || location.search.match("store")!=null)
		window.open('index.php?az=pop&img='+rel,'','height=50,width=50,scrollbars=yes');
	}

function add_favorites()
	{
	window.external.addFavorite(self.location,document.title);
	}

function blink()
	{
	obj = document.getElementById("blink");
	if (obj.childNodes[0].style.color=="")
		{
		obj.childNodes[0].style.color = "white";
		obj.childNodes[0].style.backgroundImage="none";
		}
	else
		{
		obj.childNodes[0].style.color = "";
		obj.childNodes[0].style.backgroundImage="url('images/bullet_go.gif')";
		}
	}