var selP = 1;

function getObjectSWF(swfName)
{
     return window.document[swfName];
}
function swfBack()
{
	var swfVideo = getObjectSWF("3DRotate");
	var totFrame = eval(swfVideo.TGetProperty("/", 5));
	var goBack = eval(swfVideo.TGetProperty("/", 4)) - 9;
	if(goBack < 0){goBack = totFrame + goBack;}
	swfVideo.GotoFrame(goBack);
}
function swfRewind()
{
	var swfVideo = getObjectSWF("3DRotate");
	swfVideo.Rewind();
}
function swfPlay()
{
	var swfVideo = getObjectSWF("3DRotate");
	swfVideo.Play();
}
function swfForward()
{
	var swfVideo = getObjectSWF("3DRotate");
	var totFrame = eval(swfVideo.TGetProperty("/", 5));
	var goFwd = eval(swfVideo.TGetProperty("/", 4)) + 9;
	if(goFwd > totFrame){goFwd = goFwd - totFrame;}
	swfVideo.GotoFrame(goFwd);
}
function swfStop()
{
	var swfVideo = getObjectSWF("3DRotate");
	swfVideo.StopPlay();
}

function swfZoom()
{
	var swfVideo = getObjectSWF("3DRotate");
	swfVideo.Zoom(5);
}
