function toggleHorizontalSet(openBox, closeBoxes)
{
	opener = dojo.byId(openBox);
	for(i=0; i<closeBoxes.length; i++) 
	{ 
	   	if(parseInt(document.getElementById(closeBoxes[i]).style.width) != 0)
		{
			closerDiv = closeBoxes[i];
		}
	}
	
	var makeSmaller = dojo.animateProperty(
    {
      node: closerDiv,duration: 500,
      properties: {
        width: {start: 698, end: 0	}
      },
      beforeBegin: function() {
       	  dojo.byId(closerDiv+'_content').style.display = "none";//
      }
    });	
		
	var makeWider = dojo.animateProperty(
    {
      node: opener,duration: 500,
      properties: {
        width: {start: 0, end: 698	}
      },
      onEnd: function() {
       	  dojo.byId(openBox+'_content').style.display = ""; //
       }
    });
	
	currentAnimation = dojo.fx.chain([makeSmaller,makeWider]); //makeSmaller
	currentAnimation.play();	
		
}

function playIframeMedia(iframeUrl)
{
	var sampleIframe;
	sampleIframe = dojo.byId('sampleIframe');
	sampleIframe.src = iframeUrl;	
}
