var args = new Object();
var query = location.search.substring(1);

// Get query string
var pairs = query.split( "," );

// Break at comma
for ( var i = 0; i < pairs.length; i++ )
{
   var pos = pairs[i].indexOf('=');
   if( pos == -1 ) 
   {   
      continue; // Look for "name=value"
   }

   var argname  = pairs[i].substring( 0, pos );  // If not found, skip
   var value    = pairs[i].substring( pos + 1 ); // Extract the name
   args[argname] = unescape( value );            // Extract the value
}



function showFlash(obj)
{
   return hs.htmlExpand(
            obj,
            {
                wrapperClassName: '',
                objectType: 'swf',
                width: 800,
                objectWidth: 800,
                objectHeight: 659,
                maincontentText: 'You need to upgrade your Flash player',
                allowSizeReduction: false,
                dimmingOpacity: 0.85,
                align: 'center'
            } 
           );
}

hs.expandDuration = 0;
hs.restoreDuration = 0;
hs.transitionDuration = 0;
hs.dimmingOpacity = 0.85;
hs.outlineType = null;
hs.graphicsDir = '/javascript/highslide/graphics/';
hs.showCredits = false;
hs.preserveContent = false;
hs.swfOptions = {
    version: '9.0.115',
    expressInstallSwfurl: null,
    flashvars: {
	    csConfigFile: '/flash/main/ub-main-en_config.xml',
	    csColor: '000000', 
	    csPreloader: '/flash/main/black-preloader-en.swf',
	    csFilesetBookmark: 0

    },
    params: { 
	bgcolor: 'FFFFFF', 
	quality: 'best', 
	allowscriptaccess: 'always' 
    },
    attributes:{}
   };
