//////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2006 Martin Dobes													//
// Helper functions based on fabulous windows.js									//
// Revision 0.1																		//
// 16.09.2006																		//	
// Dependecies: prototype.js, window.js												//
//																					//
//																					//
//																					//
// This function shows a window including statisitcs of the actual waypoint			//
// 																					//
//////////////////////////////////////////////////////////////////////////////////////


function MyWindow_InfoMessage(url) {
//alert(url);
var screen_width = (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth);
var screen_height = (window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight);
	
var impr = new Window(Application.getNewId(),  
			{className: "alphacube", title: "Voransicht",   
			top:100, left:20, width:screen_width*0.7, height: screen_height*0.8, 
            resizable: true, url: url, 
            showEffectOptions: {duration:1}});
//impr.setZIndex(50);
impr.setDestroyOnClose(); 
impr.toFront();       
impr.showCenter();

}