function DisplayLargeImage(num, page, imgId){
	var imghidden = 	document.getElementById('img' + num); 

	trackAjax(page, imghidden.value);

	document.getElementById('LargePic').src = imghidden.value;
}

function showNewForm(normalClass, onloadClass) {
	var newForm = document.createElement("div");
	newForm.id = "new-form";
	$(newForm).css('position','absolute').css('top', 160).css('z-index',102)
	.appendTo(document.body).show();
	$('#background-modal').bind('click',hideNewForm);
}
function hideLatinasForm() {
	$('#new-form').remove();
	document.oncontextmenu=new Function("return true");
}

function showie(event,url){
	setTimeout ("show_image('"+url+"')", 500 );
}
function show_image(url){
		window.latestClick = '';
		showNewForm('new-blog-form','new-blog-form-onload');
		var oItem = $('#popimagelatina').clone();
		$('#new-form').append(oItem);
		$('#imagelatina',oItem).attr('src', url)
		$('#background-modal').unbind('click');
		$('#cancel-new-blog',oItem).bind('click',function(){hideLatinasForm();hideModalBackground();});
		showModalBackground();
		document.oncontextmenu = new Function("return false");
}

window.latestClick = '';

function isNotDblClick(objectID) {
	if(window.latestClick != objectID) {
		window.latestClick = objectID;
		return true;
	} else {
		window.latestClick = '';
		return false;
	}
}
function uncoverlatina(){
     document.getElementById('coverclick').innerHTML="";
 }