function getStyle(element,attribute,isInt){
	//if isInt is set to 1, then return the found style as an int
	var a;
	if(window.getComputedStyle)
		a = window.getComputedStyle(element,attribute).eval(attribute);
	else
		a = eval("element.currentStyle."+attribute);
	return (isInt==1)?parseInt(a):a
}
function rf(){
    return false;
}
Array.prototype.index = function(s){
   
    var l = this.length;
    for(var i=0;i<l;i++)
       if(this[i] == s)
          return i;
    return -1;
}
