// JavaScript Document


// save console and say hello
if( !console) var console = {log:function(x){}};
// console.log( 'common.js');

/*
// eventually redirect to mobile version
if( screen && screen.width && screen.height && screen.width*screen.height < 1024*768) 
{
	newURL = 'http://m.KorbinianMoser.com/'+s.lang+'/';
	if( s.page) newURL += s.page+'/';
	if( s.project) newURL += s.project+'/';
	if( s.slide) newURL += s.slide+'/';
	newURL += window.location.hash.replace(/^#/,'');
	// console.log( newURL);
	window.location.href = newURL;
}
*/

// remove all noscripts
window.addEvent( 'domready', function()
{
	$$('noscript').destroy();
});


// here is decided, which browsers get full functionality 
// and which ones get the static version of the site
function browserCheck()
{
	if( Browser.Engine.trident) return false;
	else if( Browser.Engine.presto) return false;
	else return true;
};



