function promoAction()
{
    //alert('Paragraph orem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.');
}

function resetWindowStatus()
{
    window.status = pgStatus;
}
function toggleCategory(linkID, imgID)
{
	//alert("-" + linkID + "-" + imgID + "-");

    //IE
    if (document.all)
        type = "IE";
    //Opera
    else if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById)
        type = "OP";
    //For Netscape version 4 :
    else if (document.layers)
        type = "NN";
    //Mozilla - Netscape 6+
    else if (!document.all && document.getElementById)
        type = "MO";
    
	checkLayer(type, linkID, imgID);
}
function checkLayer(type, linkID, imgID)
{
	//alert("-" + imgID + "-");
    if (type=="IE")
    {
    	//alert(eval("document.images."+imgID+".src"));
    	if (eval("document.all."+linkID+".style.display") == '')
    	{
    		eval("document.images."+imgID+".src='/images/optimost/subCat/plus.gif'");
        	eval("document.all."+linkID+".style.display='none'");
        }
        else
        {
        	eval("document.images."+imgID+".src='/images/optimost/subCat/minus.gif'");
        	eval("document.all."+linkID+".style.display=''");
        }
    }
    if (type=="NN")
    {
    	if (eval("document."+linkID+".display") == '')
    	{
    		eval("document.images."+imgID+".src='/images/optimost/subCat/plus.gif'");
	        eval("document."+linkID+".display='none'");
	    }
	    else
	    {
        	eval("document.images."+imgID+".src='/images/optimost/subCat/minus.gif'");
	    	eval("document."+linkID+".display=''");
	    }
    }
    if (type=="MO" || type=="OP")
    {
    	if (eval("document.getElementById('"+linkID+"').style.display") == '')
    	{
    		eval("document.images."+imgID+".src='/images/optimost/subCat/plus.gif'");
    		eval("document.getElementById('"+linkID+"').style.display='none'");
    	}
    	else
    	{
    		eval("document.images."+imgID+".src='/images/optimost/subCat/minus.gif'");
    		eval("document.getElementById('"+linkID+"').style.display=''");
    	}
    }
}
