/*
	
	title: 
		toolkit.js
	
	author: 
		Matthias Kandora
	
	abstract: 
		generic toolkit for various standard javascript operations
		
	copyright:
		all rights reserved (c) 2007 by author. 
		for more information see contacts
		
	contact:
		m.kandora at googlemail.com [creator]
		acousticview at vnamusic.de [admin]

*/

// Constructor

function Toolkit(url) {
	this.resource = url;
	
	this.launch = function()  {
			// open new window
			var win = window.open(this.resource,'vnarichmedia','scrollbars=no,location=no,statusbar=no,resize=0,width=950, height=650, toolbar=no, menubar=no');
		}
}

Toolkit.prototype.launchFlash = function () {
	alert(navigator.appName);
}

Toolkit.prototype.centerWin = function() {
	window.moveTo(((window.screen.width-950)/2),
				((window.screen.height-650)/2));
}

var tk = new Toolkit('richwin.html');
