|
\n');
};
var topLevelCollectionID = 0;
var autoLoadAlbumID = 15;
var autoLoadPhotoID = 0;
var autoStartSlideShow = '';
var h = document.body.clientHeight;
//alert('clent height'+h+' screen height'+screen.height);
var w = document.body.clientWidth;
// alert('client width'+w+'screen width'+screen.width);
/*alert(screen.height);
alert(screen.width);
*/
//var fs=window.open("index.php","sub",'menubar=no,resizable=yes');
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
}
else if( document.documentElement &&
( document.documentElement.clientWidth ||
document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
}
else if( document.body &&
( document.body.clientWidth ||
document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
//var expoheight = parseInt(screen.height*0.50);
var expoheight = parseInt(myHeight-100);
var expowidth =parseInt(screen.width*0.60);
//alert(screen.height);
//alert(window.innerHeight);
//alert(document.documentElement.clientHeight);
//alert(expoheight);
//alert('normalview');
//alert(expoheight);
//alert(expowidth);
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
/* 'width', '200',
'height', '575',*/
'width', expowidth,
'height', expoheight,
'src', 'components/com_exposeprive/expose/swf/expose',
'quality', 'high',
'wmode', 'transparent',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'id', 'expose',
'bgcolor', '#ffffff',
'name', 'expose',
'menu', 'false',
'allowScriptAccess', 'sameDomain',
'movie', 'components/com_exposeprive/expose/swf/expose',
'salign', '',
'FlashVars', 'bgColor=ffffff&albumsXMLURL=xml/albums.xml&stringsXMLURL=config/strings.xml&formatsXMLURL=config/formats.xml&configXMLURL=config/config.xml&baseXMLURL=xml/&baseImageURL=img/&baseVideoURL=expose/img/&baseAudioURL=img/&topLevelCollectionID=' + topLevelCollectionID + '&autoLoadAlbumID=' + autoLoadAlbumID + '&autoLoadPhotoID=' + autoLoadPhotoID + '&autoStartSlideShow=' + autoStartSlideShow + '&bgImageURL=&fgImageURL=&language=english&useEmbeddedFonts=no',
'base', 'components/com_exposeprive/expose'
);
// -->
|
||