var kids=$.query.get('kids');
instWin = null;
function showInstructions()
	{

	var screenWidth		=	(screen.width - 420) / 2;
	var screenHeight	=	(screen.height - 350) / 2;

		if(instWin==null||instWin.closed)
		{

instWin = window.open("cc_instructions.html","instWin","width=420,height=350,left="+
         screenWidth +
         ",top="+
          screenHeight +
         ",resizable=yes,scrollbars=yes,toolbar=no,resizable=yes,scrollbars=no,location=no,directories=no,menubar=no");
			if(instWin.document.forms[0])
			{  // if ther's already stuff in the window
					instWin.focus();
			}
			else
			{

				instWin.window.location='cc_instructions.html';
			}
		}
		instWin.focus();
	}

function alertMe(sendVolume)
{
	alert(sendVolume);

}

function lowerVolume(sendVolume)
{
	//alert(sendVolume);
	//window.document.music.setVariable("_root.musicVolume", sendVolume);

}

function killMusic()
{

	//window.document.music.setVariable("_root.musicVolume", 0);
}

testVolume = 100;


function closeWin()
{
 document.location="/games/playnow/carbon_connection";
}