function begruessung() {
focus();
window.status="webdesign and development :::::::::::::::::::::::::::::::::::::::::::::: pixeldev.ch";return true;
}
function BlurLinks(){
lnks=document.getElementsByTagName('a');
for(i=0;i<lnks.length;i++){
lnks[i].onfocus=new Function("if(this.blur)this.blur()");
}
}
function click() {alert("bitte kurz auf den film clicken...");}

// fenster ueberwachen
function Fensterweite () {
if (window.innerWidth) {
return window.innerWidth;
} else if (document.body && document.body.offsetWidth) {
return document.body.offsetWidth;
} else {
return 0;
}
}

function Fensterhoehe () {
if (window.innerHeight) {
return window.innerHeight;
} else if (document.body && document.body.offsetHeight) {
return document.body.offsetHeight;
} else {
return 0;
}
}

function neuAufbau () {
if (Weite != Fensterweite() || Hoehe != Fensterhoehe())
location.href = location.href;
}

/* Überwachung von Netscape initialisieren */
if (!window.Weite && window.innerWidth) {
window.onresize = neuAufbau;
Weite = Fensterweite();
Hoehe = Fensterhoehe();
}
// ende fenster ueberwachen

// scrollTo
jQuery(function( $ ){
	$.localScroll.hash({
		target: 'body', 
		queue:true,
		duration:1000
	});

	$.localScroll({
		target: 'body', 
		queue:true,
		duration:1000,
		hash:true,
		onBefore:function( e, anchor, $target ){
		},
		onAfter:function( anchor, settings ){
		}
	});
});


function checkIEversion() {
if (navigator.appName == 'Microsoft Internet Explorer') {
var navName = navigator.appName;
var brVer = navigator.userAgent;
var brNum;
function verNumIE() {
var brVerId = brVer.indexOf('MSIE');
brNum = brVer.substr(brVerId,8);
}
verNumIE();
if(brNum < "MSIE 8.0") {
document.getElementById('alertDiv').style.display = 'block';
document.getElementById('alertDiv').innerHTML = 'Browser version insecure - you should update to MSIE 8 or higher!';
}
}
}
