function do_ajax_HTML(options) {
	// options.method='get';
	// options.complete=do_onComplete;
	if (options['cache']!=true) {
		var i=options['url'].indexOf('?',0)+options['url'].indexOf('&',0); // komt er een & of ? voor?
		if (i>-2){
			options['url']=options['url']+'&';
		} else options['url']=options['url']+'?';
		options['url']=options['url']+'randcachevar='+(new Date()).getTime();
		options.url
	}
	var myHTMLRequest = new Request.HTML(options);
	myHTMLRequest.setHeader('X-Request','text/xhtml');
	myHTMLRequest.get();
}

Shadowbox.init({
    // let's skip the automatic setup because we don't have any
    // properly configured link elements on the page
    skipSetup: true,
	handleOversize: "drag"
});

function openPopup(content,w,h,title) {
	Shadowbox.open({
		content: content,
		player: "iframe",
		title: title,
		height:h,
		width:w
	});
}
