function hitCpt(id)
{
	ajaxCallback("/ajax/hitCpt.php?id="+id, "", "GET", "html", true,'','');
}

function imageSite(url)
{
	imageMiniSite = geById('imageMiniSite');
	imageMiniSite.src = 'http://open.thumbshots.org/image.pxf?url=' + url.value;
	imageMiniSite.width = 120;
	imageMiniSite.height = 90;
	imageMiniSite.style.display = '';
	urlSite = geById('image');
	urlSite.value = 'http://open.thumbshots.org/image.pxf?url=' + url.value;
//	ajaxCallback("/ajax/checkImage.php?url="+url.value, "", "GET", "html", true,afficherImageSite,'');
}


function notation(idSite)
{
	window.open('/notation.php?idSite='+idSite,'notationSite','menubar=no, status=no, scrollbars=no, menubar=no, width=300, height=200');
}

function positionneDiv(id)
{
	element = geById(id);
	positionLeft = element.offsetLeft;
	positionTop = element.offsetTop;
	alert(element);
	alert(positionLeft);
	alert(positionTop);
	afficherDivAvecPrechargement();
	
}


function afficherDivAvecPrechargement()
{
	var div = document.createElement('div');
	div.id = 'divNotation'
	div.innerHTML = 'Le contenu de mon div de notation';
}

