//
// Følgende script disabler højreklik, samt masker url'en ud i statuslinjen i bunden af vinduet. Testet af i I.E. 5, I.E. 5.5, I.E. 6, NS 4.06, NS 6.0,
// NS 7.0 samt Opera.
//
function dm(){
return false;
}
function dp(e){
if(e.which==1){
w=window;
w.releaseEvents(Event.MOUSEMOVE);
w.onmousemove=null;
}
}
function da(){
{
alert(":: Protected  - Tre-Mag AB - Sweden ::");
return false;
}
}
function dd(e){
if(e.which==3){
return da();
}
}
function cm(){
hg=event.button;
if(hg==2||hg==3)da();
}
d=document;
w=window;
vc=d.all;
qb=d.getElementById;
if(vc){
if(qb){
d.oncontextmenu=da;
d.onselectstart=dm
}
else
{
d.onmousedown=cm;
}
}
if(qb&&!vc){
d.onmousedown=dm;
d.onmouseup=dd;
d.oncontextmenu=dm;
}
if(d.layers){
w=window;
w.captureEvents(event.MOUSEUP|event.MOUSEDOWN);
w.onmousedown=dd;
w.onmouseup=dp;
}
function muteurl(){
if(window.event.srcElement.tagName=="A") { window.status=":: Protected - Tre-Mag AB - Sweden ::"; return false;} } document.onmousemove=muteurl;



function wopenm(url, name){
winWidth  = 410;
winHeight = 500;
winXpos = window.screen.width - (winWidth + 20);
winYpos = 5;
if (typeof(win) != "object"){
win = window.open(url,'winprofm2','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
} else {
if (!win.closed){ 
win.location.href = url;
} else {
win = window.open(url,'winprofm2','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
}
}

win.focus();
return false;}

function wopen2(){
url = 'http://www.smsfilm.se';
winWidth = 800;
winHeight = 600;
winXpos = window.screen.width - (winWidth + 20);
winYpos = 5;
if (typeof(win) != "object"){
win = window.open(url,'sms','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
} else {
if (!win.closed){ 
win.location.href = url;
} else {
win = window.open(url,'winprofm2','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
}
}
win2 = window.navigate('http://www.sexbiblioteket.se/flash.asp');

return false;}

 

function wopen3(urlen){
url = 'http://www.inn-ut.no';
url2 = 'http://www.sexbiblioteket.no/' + urlen;
winWidth = 800;
winHeight = 600;
winXpos = window.screen.width - (winWidth + 20);
winYpos = 5;
if (typeof(win) != "object"){
win = window.open(url,'innut','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
} else {
if (!win.closed){ 
win.location.href = url;
} else {
win = window.open(url,'innut','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
}
}
win2 = window.navigate(urlen);

return false;}
 

function wopen4(urlen){
url = 'http://www.martinshop.se';
url2 = 'http://www.sexbiblioteket.se/' + urlen;
winWidth = 800;
winHeight = 600;
winXpos = window.screen.width - (winWidth + 20);
winYpos = 5;
if (typeof(win) != "object"){
win = window.open(url,'innut','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
} else {
if (!win.closed){ 
win.location.href = url;
} else {
win = window.open(url,'innut','width=' + winWidth + ',height=' + winHeight + ',resizable=1,scrollbars=1');
}
}
win2 = window.navigate(urlen);

return false;}
 

