/**
* Defines the JF namespace.
*/
if( typeof JF === 'undefined' || JF === null){	
	JF = {};
}

/**
* Define the JF.utils namespace.
*/
if(typeof JF.utils === 'undefined' || JF.utils === null){
	JF.utils = {};
}	

/**
* Utility functions.
*/
(function(){

	var _launch = function(dest, width, height)
	{
		var wtarget = (typeof dest !== 'undefined') ? dest : "/";
		var wheight  = (typeof height !== 'undefined') ? height : 600;
		var wwidth = (typeof width !== 'undefined') ? width : 800;
	
		window.open(wtarget,'_blank','scrollbars=no,menubar=no,height=' + wheight + ',width=' + wwidth + ',resizable=yes,toolbar=no,location=no,status=no');
	}

//Export
JF.utils = {
	launch:_launch
};	

}());
