HEX
Server: Apache
System: Linux box2146.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User: thetwis6 (2126)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home4/thetwis6/www/trendy/site.js
var tempwidth = screen.width;
var tempheight = screen.height;

//alert(tempwidth);
//alert(tempheight);

//tempheight = tempheight - 120; //to allow for browser tool bars
tempwidth = tempwidth - (browsermargin*2); ////width = browsermargin*2

// we need to set the correct size for the flash file so that it does not skew
var sitewidth = 980;
var siteheight = 890;

//if(tempwidth> 980){

scaleval = tempwidth/980;
sitewidth = tempwidth;
siteheight = siteheight*scaleval;

//}


var introwidth = sitewidth;
var introheight = siteheight;

var introwidth ="100%" ; // Width of template
//var introheight = "100%"; // Height of template
var randomnum = Math.round(10000*Math.random());

embedstring = '<EMBED src='+sitevar+'?siteinitialvar=' + siteinitialvar + '&contentpath='+contentpathvar+ '&urlvar=' + domain + '&randomnum=' + randomnum + ' quality=high scale="exactfit"  AllowFullScreen="true" bgcolor=#000000 WIDTH=' + introwidth + ' HEIGHT='+introheight +' NAME="site" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>'

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://active.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0" id="site" width=' + introwidth+ ' height=' + introheight + '> \n');
document.write('<PARAM NAME=movie VALUE='+sitevar+'?siteinitialvar=' + siteinitialvar + '&contentpath='+contentpathvar+ '&urlvar=' + domain + '&randomnum=' + randomnum + ' > \n');
document.write('<param name="SCALE" value="exactfit">\n');
document.write('<PARAM name=quality value=high> \n');
document.write('<PARAM name=menu value="false"> \n');
document.write('<PARAM name=AllowFullScreen value="true"> \n');
document.write(embedstring + '\n');
document.write('</OBJECT> \n');
document.write('</DIV> \n');