/**
 * EmJa Interactive, LLC.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.emjainteractive.com/LICENSE.txt
 *
 * @category   EmJaInteractive
 * @package    EmJaInteractive_ExternalProduct
 * @copyright  Copyright (c) 2010 EmJa Interactive, LLC. (http://www.emjainteractive.com)
 * @license    http://www.emjainteractive.com/LICENSE.txt
 */

var EmjaInteractive_ExternalProduct = Class.create();

EmjaInteractive_ExternalProduct.prototype = {
	    initialize : function() { },
	    
	    open : function(url, target)
	    {
	        if( window.opener ) {
		        var wnd = window.opener;
	        } else {
	        	var wnd = window;
		    }
	    	productWindow = wnd.open(url, target,'menubar=yes,toolbar=yes,location=yes,directories=yes,fullscreen=no,titlebar=yes,hotkeys=yes,status=yes,scrollbars=yes,resizable=yes');
	    }
}

externalProduct = new EmjaInteractive_ExternalProduct();
