function setLocation(url){
	if (artsonit_nextprev == 'undefined')
	{
		window.location.href =  url;
	}
	else
	{
		window.location.href = artsonit_nextprev.addInfoSetLocation(url);
	}
} 

if(typeof ArtsOnIT== 'undefined') {
    var ArtsOnIT=  {};
}

ArtsOnIT.NextPrevNav = Class.create();
ArtsOnIT.NextPrevNav.prototype = {

	initialize: function(oHash, oCssProductList){
		 hash = oHash;
		 $$(oCssProductList + ' a').each(function (e)	
			{
				e.href += "#NP=" + this.hash;
			}
		);
	},
	addInfoUrl: function(url){
		return url +"#NP=" + this.hash;
	},
	addInfoSetLocation: function(url){
		url = this.addInfoUrl(url);
	   return url;
	}
}

 
