// funcitons
function directions() {
	/*
	$.colorbox({
		href:"http://dev.mapfooapp.com/map/view/9",
		transition:"elastic",
		iframe:true,
		width:"70%", 
		height:"70%",
		initialWidth:"70%", 
		initialHeight:"70%",
		title:"Directions to The Polish Regatta at Pitlik's Resort:",
		opacity:0.8
	});
	*/
	window.open("http://mapfooapp.com/map/view/9");
}

function mark() {
	/*
	$.colorbox({
		href:"http://dev.mapfooapp.com/map/view/14",
		transition:"elastic",
		iframe:true,
		width:"70%", 
		height:"70%",
		initialWidth:"70%", 
		initialHeight:"70%",
		title:"Been to the Polish Regatta? Make Your Mark!!",
		opacity:0.8
	});
	*/
	window.open("http://mapfooapp.com/map/view/14");
}

function rules() {
	$.colorbox({
		href:"content.php?p=rules",
		transition:"elastic",
		width:"550px", 
		height:"80%",
		initialWidth:"550px", 
		initialHeight:"80%",
		title:"Polish Regatta Rules:",
		opacity:0.8
	});
}

function registration() {
	$.colorbox({
		href:"content.php?p=reg",
		transition:"elastic",
		width:"550px", 
		initialWidth:"550px",
		//height:"530px",
		//initialHeight:"530px",
		title:"Sign-Up for the Polish Regatta!",
		opacity:0.8
	});
}

function about() {
	$.colorbox({
		href:"content.php?p=about",
		transition:"elastic",
		width:"550px", 
		//height:"600px",
		initialWidth:"550px", 
		//initialHeight:"600px",
		title:"What is the Polish Regatta?",
		opacity:0.8
	});
}

function gallery() {
	$.colorbox({
		href:"gallery/index.php?x=archives.xml",
		transition:"elastic",
		width:"780px", 
		height:"680px",
		initialWidth:"780px", 
		initialHeight:"680px",
		title:"Photo &amp; Media Archives",
		iframe:true,
		opacity:0.8
	});
}

function teams() {
	$.colorbox({
		href:"gallery/index.php?x=teams.xml",
		transition:"elastic",
		width:"780px", 
		height:"680px",
		initialWidth:"780px", 
		initialHeight:"680px",
		title:"Polish Regatta Teams, 2009+",
		iframe:true,
		opacity:0.8
	});
}

function sponsor() {
	$.colorbox({
		href:"content.php?p=sponsor",
		transition:"elastic",
		width:"550px", 
		//height:"600px",
		initialWidth:"550px", 
		//initialHeight:"600px",
		title:"Sponsor Information",
		opacity:0.8
	});
}

function poll() {
	// suggestions for next year
	/*$.colorbox({
		href:"http://www.kingquarry.com/machform/embed.php?id=4",
		transition:"elastic",
		width:"500px", 
		height:"520px",
		initialWidth:"500px", 
		initialHeight:"520px",
		title:"",
		iframe:true,
		opacity:0.8
	});*/
	// vote for this year
	$.colorbox({
		href:"content.php?p=poll",
		iframe:true,
		transition:"elastic",
		width:"550px", 
		height:"490px",
		initialWidth:"550px", 
		title:"Vote for the Aug 13th, 2011 Theme!",
		initialHeight:"80%",
		opacity:0.8
	});
}


// onload
$(function() {
	
	
	
});
