function changeBackgroundColor(id, bgcolor) {
	if (document.getElementById) {
        document.getElementById(id).style.backgroundColor = bgcolor;
    }
    var link = document.getElementById('thisissue').getElementsByTagName('a'); 
    for(i = 0; i < link.length; i++)
    {
        var links = document.getElementById('thisissue').getElementsByTagName('a')[i];
        //links.style.color = bgcolor;
    }
}

function setFormAction(selectBx, selectBxVal) {
	
	if (selectBx == 1) {
		var x=document.forms.form_categories1;
		x.action="index.php?page=shop.browse&option=com_virtuemart&Itemid=32&category_id="+selectBxVal+"&type=shop";
		document.form_categories1.submit();
	} else {
		var x=document.forms.form_categories2;
		x.action="index.php?page=shop.browse&option=com_virtuemart&Itemid=32&category_id="+selectBxVal+"&type=shop";
		document.form_categories2.submit();
	}
	
	
}

