/*
 * addition to jQuery DOMWindow script
 * 2009 Alain Mertens
 * 
 * trig variables get passed through onmousedown attribute
 * settings in DOMWindow: eventType:'mousedown'
 * IE does not allow DOMWindow to be called from <OBJECT> with 'click'
 */

var trig = 0;
var trigURL = null;
var trigWidth = 530;
var trigHeight = 415;
				
function trigIt(trig,trigURL,trigWidth,trigHeight) {
				 
	if(trig == 1) {
						
		$().openDOMWindow({ 
		width:trigWidth,
		height:trigHeight, 
		windowSourceURL:trigURL
		});
		
		trig = 0;
		
	}			
}
