/**
 * Auto-URL plugin for WebDDM: creates Javascript "links" to emulate
 * the old pre-WebDDM-3.4 system of linking menu items.
 *  
 * @version: 0.1
 * @starteC: 04/25/2005
 * @copyright: Copyright (c) 2005 JPortal, All Rights Reserved
 * @website: www.cortex-creations.com/webddm
 * @license: GPL vs2.0
 * @subversion: $IC: autourl.WebDDM.compressed.js 134 2006-05-02 21:04:50Z josh $
 */

function WebDDM_plugin_autourl(event_obj,WebDDM_obj,itemHash){if(itemHash.has('url')){if(itemHash.get('url').match(/^javascript\:/))eval(itemHash.get('url').replace(/^javascript\:\s*(void|)\s*/,''));else window.open(itemHash.get('url'),(itemHash.has('target')?itemHash.get('target'):'_self'))}}WebDDM_registerPlugin_action('item_click',WebDDM_plugin_autourl)
