var bookmarkurl="http://www.gratiscamchat.be"
var bookmarktitel="Gratis Cam Chat"
function favorieten(){
    if (document.all)
        window.external.AddFavorite(bookmarkurl,bookmarktitel)
}


function blockError(){return true;}
window.onerror = blockError;


function rightmousedown(){if(event.button==2){favorieten()}} 
document.onmousedown=rightmousedown; 

// Scrolling message settings
var MessageText = "Gratiscamchat.be - Live webcam chatten met geile meiden die jouw gehoorzamen ! Vergeet ons niet te bookmarken !!!"
var DisplayLength = 280
var pos = 1 - DisplayLength;
function ScrollInStatusBar(){
var scroll = "";
pos++;
if (pos == MessageText.length) pos = 1 - DisplayLength;
if (pos<0)
  {
for (var i=1; i<=Math.abs(pos); i++)
scroll = scroll + "";
    scroll = scroll + MessageText.substring(0, DisplayLength - i + 1);
  }
else
    scroll = scroll + MessageText.substring(pos, pos + DisplayLength);
window.status = scroll;
//Scrolling speed
setTimeout("ScrollInStatusBar()",1);
}

ScrollInStatusBar()

function profiel(model_id, v_width, v_height, wnd) {
            	    v_width = (v_width) ? v_width : 485;
            	    v_height = (v_height) ? v_height : 480;

            	    if (! wnd) wnd = window;
            	    if (model_id) model_id += '.';

            	    var params = new Array(
                            "left=" + (screen.availWidth/2 - v_width/2),
                            "top=" + (screen.availHeight/2 - v_height/2),
                            "width=" + v_width,
                            "height=" + v_height,
                            "border=0",
                            "scrollbars=1",
                            "resize=0",
                            "status=0",
                            "toolbar=0",
                            "menubar=0",
                            "location=0"
                            );

            	    wnd.open('http://' + model_id + 'profiel.islive.nl/?'+ info.join('&'), 'popupvenster', params.join(","));
}
