var isMac,NS4,IEmac,IE4plus,IE4,IE5,IE6,ver4,NS6,IEMajor;
var MONTH_NAMES=new Array('January','February','March','April','May','June','July','August','September','October','November','December','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');var DAY_NAMES=new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sun','Mon','Tue','Wed','Thu','Fri','Sat');
var winW, winH;
//
// Screen Detection
//
winW = window.screen.width;
winH = window.screen.height;
//
// Browser Detection
//
isMac = (navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
NS4 = (document.layers) ? true : false;
IEmac = ((document.all)&&(isMac)) ? true : false;
IE4plus = (document.all) ? true : false;
IE4 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 4.")!=-1)) ? true : false;
IE5 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 5.")!=-1)) ? true : false;
IE6 = ((document.all)&&(navigator.appVersion.indexOf("MSIE 6.")!=-1)) ? true : false;
ver4 = (NS4 || IE4plus) ? true : false;
NS6 = (!document.layers) && (navigator.userAgent.indexOf('Netscape')!=-1)?true:false;

IE5plus = IE5 || IE6;
IEMajor = 0;

if (IE4plus)
{
	var start = navigator.appVersion.indexOf("MSIE");
	var end = navigator.appVersion.indexOf(".",start);
	IEMajor = parseInt(navigator.appVersion.substring(start+5,end));
	IE5plus = (IEMajor>=5) ? true : false;

}

function CategoryClick(i)
{ 
    window.location.href="/bika/he/?c="+i;
} 

function CategoryClick_EN(i)
{ 
    window.location.href="/bika/en/?c="+i;
} 

function SubCategoryClick(i, j)
{ 
    window.location.href="/bika/he/?c="+j+"&sc="+i;
} 

function SubCategoryClick_EN(i, j)
{ 
    window.location.href="/bika/en/?c="+j+"&sc="+i;
} 
