var scroll=null;
window.addEvent('domready', function() {     
      if (!scroll)  scroll = new SmoothScroll({duration:1300,fps:20});  

		    /**
		     * Set default options, overrideable from later calls.
		     */
		    SqueezeBox.initialize({
		        size: {x: 350, y: 400}
		    });

		    /**
		     * Assign SqueezeBox to all links with rel="boxed" attribute, the class then reads the "href".
		     */
		    //SqueezeBox.assign($$('a[rel=boxed]'));  
		
			SqueezeBox.assign($$('a[rel=boxed]'), {
					size: {x: 700, y: 500},
					ajaxOptions: {
						method: 'get' // we use GET for requesting plain HTML (you can skip it, it is the default value)
					}
				});
				

		    /**
		     * Open some content manually
		     */
		 //   SqueezeBox.open('products/sdk.php'); // handler defaults to "ajax" for urls

		//    SqueezeBox.open('http://digitarald.de', {handler: 'iframe'}); // we force the "iframe" handler here ...

		  //  SqueezeBox.open($('welcome'), {handler: 'adopt'}); // and here we force "adopt" handler
		
		
	    });
	
	
function goURL(url){
	location.href = url ;
}	

function openTutorial(){
	SqueezeBox.open('/media/instant_tutorial.php', { size: {x:811, y:623}, handler: 'iframe'});
	
}	
	
   