function PopupImage(img) {
	titre=".:: Cap Sailing ::. Zoom";
	w=open("",'image','width=640,height=480,toolbar=no,scrollbars=no,resizable=no');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>");
	w.document.write("<SCRIPT language=javascript>function checksize()  { if (document.images[0].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('check()',250) } }</"+"SCRIPT>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}

function newimg(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; } }
function ci() { if (document.images && (plflag == true)) {	for (var i=0; i<ci.arguments.length; i+=2) { document[ci.arguments[i]].src = ci.arguments[i+1]; } } }
function owin(u,t,f) { window.open(u,t,f); }

var w_w = 550, w_h = 600, w_l = 50, w_t = 50;
var w_features = 'scrollbars=yes, status=yes, resizable=yes, width=' + w_w + ', height=' + w_h + ', left=' + w_l +', top=' + w_t;
function wthemes(i) { owin('/help/w/themes/' + '#' + i, 'Help_Themes', w_features); }
function wstyles(i) { owin('/help/w/styles/' + '#' + i, 'Help_Styles', w_features); }
function wresolutions(i) { owin('/help/w/resolutions/' + '#' + i, 'Help_Resolutions', w_features); }
function wfeatures(t,i) { owin('/help/w/features_' + t + '/#' + i, 'Help_Features', w_features); }
function whelp(s,i) { owin('/help/w/' + s + '/' + '#' + i, 'Help', w_features); }
function uconf(u) { var c = confirm('Are you sure? Click OK to proceed.'); if (c) document.location = u; }
NS4 = (document.layers) ? true : false;
function ce(f,e) { var c=0; if (NS4) c = e.which; else c = e.keyCode; if (c == 13) f.submit(); }
var plflag = false;
function primg() {
	if (document.images) {
		i1 = newimg("i/rli-vat-1.gif");
		i2 = newimg("i/rli-sot-1.gif");
		i3 = newimg("i/rli-gh-1.gif");
		i4 = newimg("i/rli-ap-1.gif");
		i5 = newimg("i/rli-cu-1.gif");
		plflag = true;
	}
}
function ims(i,n,p,e)
{
	if (n == 1)
		document.images[i].src = p + i + e;
	else
		document.images[i].src = p + i + '_' + n + e;
}


