//get browser name && platform && resolution
//check if it's opera for windoze

var res_x = screen.availWidth;
var res_y = screen.availHeight;
var platform = "linux"; //default
var browser = "opera"; //default
var animate = 1;


/*
//scroller
var scrtxt="write your message here";
var lentxt=scrtxt.length;
var width=100;
var pos=1-width;
function scroll() {
    pos++;
    var scroller="";
    if (pos==lentxt) {
        pos=1-width;
    }
    if (pos<0) {
        for (var i=1; i<=Math.abs(pos); i++) {
            scroller=scroller+" ";
        }
        scroller=scroller+scrtxt.substring(0,width-i+1);
    }
    else {
        scroller=scroller+scrtxt.substring(pos,width+pos);
    }
    window.status = scroller;
    setTimeout("scroll()",150);
}
*/
/*
//mouseover statusbar
function moveover() {
    window.status = "write your message here";
}
*/
/*
// erase statusbar
function erase() {
    window.status="";
}
*/

/*
//change pic --not workin in ns
function chpic(img_name,img_src) {
    document[img_name].src=img_src;
}
*/

// function to show image for given image_object, used for change of pic
function hilite(ObjID,imgObjName) {
    ObjID.src = eval(imgObjName + ".src");
    return true;
}


/* popup, i'm not using this.
// ICQ checker
function icqCheck() {
var number = document.ICQ.number.value;

text = "<html><body><center><br>"
+ number + " is: <img src=http://online.mirabilis.com/"
+ "scripts/online.dll?icq=" + number + "&img=5> "
+ "</body></html>";

windowprops = "toolbar=no,width=150,height=25,"
+ "directories=no,status=no,scrollbars=no,resize=no,"
+ "menubar=no";

icqWindow=window.open("","displayWindow",windowprops)
icqWindow.document.write(text);
icqWindow.document.close();
icqWindow.focus();
}
*/

//document.write(navigator.appCodeName,"<BR>", navigator.userAgent, "<BR>",platform, "<BR>", browser);
