// ----------------------------------------------------------------------------- // // File: /scripts/inc.js.main.wtr // Project: WaveTrack // Author: Dominique Kraus-Ahma - // Kraus-Ahma IT Consulting (dka@kraus-ahma.com) // Purpose: This file works as standard script library. It is included with every page. // History: 16.05.2007 13:18:49 - file created (dk@) // // NOTES: // // ----------------------------------------------------------------------------- var window_main = this; var wdwApplication; // ---- displays maintenance message // function notYet(){ notYet( "This feature has not been implemented yet!" ); } // 'function notYet()'. // ---- opens application window // function openWTApp( szUrl ){ wdwApplication = window.open( szUrl, "wdwApplication","width=443,height=380,location=no,menubar=no,resizeable=no,scrollbars=no,status=no,toolbar=no"); wdwApplication.window_main = this; } // 'function openWTApp()'. // ---- opens application window // function init(){ //$("maincontent").style.height = document.viewport.getHeight()-90 +"px"; var qs = new Querystring(); if( "bulletin" == qs.get( "tpl" ) ){ $("forecastud").style.height = document.viewport.getHeight()-237 +"px"; } // if( "bulletin" == qs.get( "tpl" ) ) } // 'function init()'. function show_image( image ) { document.getElementById('lightbox_article_image').style.display = "block"; document.getElementById('lightbox_bg').style.display = "block"; document.getElementById('lightbox_article_image').style.display = "none"; var data = "
Close

"; document.getElementById('lightbox_article_image').innerHTML = data; document.getElementById('lightbox_article_image').style.display = "block"; } // 'function show_image()'. function close_image( ) { document.getElementById('lightbox_article_image').style.display = "none"; document.getElementById('lightbox_bg').style.display = "none"; } // 'function close_image()' function alertSubscribe( ) { document.getElementById( 'alertMsg' ).style.display = "block"; document.getElementById( 'alertMsg' ).innerHTML = "

Sorry, but you must have a valid subscription to be able to download this article.

Close Window

"; } function alertLogin() { document.getElementById( 'alertMsg' ).style.display = "block"; document.getElementById( 'alertMsg' ).innerHTML = "

Pardon

Please log-in first to access your account. If you are new to this site you can register or subscribe.

Thank you.
Your WaveTrack International Team

"; }