var pphint = null;	// photo print hint

function PPHint () {};	// photo print hint

PPHint.content = "";

PPHint.init = function PPHint_init () {
	try {
		pphint = new Hint("printordertooltip", PPHint.content);
		if(pphint.init != null) {
			pphint.setTimeout(2000);
			pphint.animationOn();
   	}
	} catch (ex) {
		return;
	}
}	


PPHint.show = function PPHint_show(ref, idPhoto, type) {
	try {
		if (page.photos && pphint.init != null) {
			if (page.photos[idPhoto].types[type] == 1 ) {
				pphint.quickHide(ref);
			} else {
				pphint.show(ref);
			}	
		}
	} catch (ex) {
		return;
	}
}
