dojo.require('dijit.Dialog');
dojo.require('dojo.cookie');

dojo.addOnLoad(function() {
	if (!dojo.cookie('popup')) {
		dojo.cookie('popup',true,{
			path: '/trunk/modules/photoservice'
		});
		getHTMLCode('popup', '', showPopup);
	}
});

function showPopup(html) {
	if (html != '') {
		new dijit.Dialog({
			content: html
		}).show();
	}
}
