<!-- Begin OPTIONS CODE

// HOMEPAGE FLASH OPTIONS FILE

// CHANGE ANY OF THESE VARIABLES


var flashwidth	= "400"		// WIDTH OF THE FLASH (IN PIXELS)
var flashheight	= "250"		// HEIGHT OF THE FLASH (IN PIXELS)
var color		= "406C8D"	// IMAGE SLIDER BACKGROUND COLOR
var showLink            = "yes"                // Value of the file to play

// VIDEO OPTIONS

var video_width	= "780"	// VIDEO POPUP WIDTH
var video_height	= "425"	// VIDEO POPUP HEIGHT
var scrollbar_video	= "no"	// VIDEO POPUP SCROLLBARS
var menu_video	= "yes"	// SHOW MENU IN VIDEO POPUP
var wX_location	= "350"	// VIDEO HORIZONTAL POPUP LOCATION
var wY_location	= "0"	// VIDEO VERTICAL POPUP LOCATION
var video_viewer 	= "yes"	// VIDEO - yes/FULL SCREEN OR no/POPUP MODE



// COPYRIGHT 2008 © George Web Consulting
// Unauthorized use or sale of this script is strictly prohibited by law

// YOU DO NOT NEED TO EDIT BELOW THIS LINE



var d = new Date()
var day = ((d.getDate()<10) ? "0" : "")+ d.getDate()
var month = ((d.getMonth()<10) ? "0" : "")+ (d.getMonth()+1)

var monthday = "http://inspiringword.net/daily/"+ month + day +"-m.swf"
var daySound = "http://inspiringword.net/daily/"+ month + day +"-m.mid"
var movieLink = "javascript:VideoOpen('http://www.georgewebconsulting.com/DailyWordFullScreen.html')"
//"http://inspiringword.net/daily/all-dailies.php?day_is="+month+day
if (showLink = "yes") document.write("<a href="+ monthday+">View Larger</a> or <a href="+movieLink+">View with Sound</a>");



document.write('<table cellpadding="0" cellspacing="0" border="0" width="'+flashwidth+'" bgcolor="'+color+'"><tr><td valign="middle" align="center">');
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" id="FlashChanger">');
document.write('<PARAM NAME="movie" VALUE='+ monthday+'>');
document.write('<PARAM NAME="quality" VALUE="high">');
document.write('<PARAM NAME="wmode" VALUE="transparent">');
document.write('<PARAM NAME="bgcolor" VALUE="#'+color+'">');
document.write('<EMBED src='+ monthday+ ' quality="high" wmode="transparent" bgcolor="#'+color+'"  WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="FlashChanger" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><br>');

// START HOME MUSIC CODE

if (navigator.appName == "Microsoft Internet Explorer") {
document.write('<bgsound src="'+daySound+'" LOOP="false">');
}
else {
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="'+daySound+'" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="-1" HEIGHT="1" WIDTH="1" loop="false"><br>');
}

document.write('</td></tr></table>');


// VIDEO POPUP CODE


function VideoOpen(URL) {

day = new Date();
id = 'messagepopup';
   if (video_viewer == "no") {
eval("page" + id + " = window.open(URL, '" + id + "', 'scrollbars='+scrollbar_video+',toolbar=no,resizable=yes,directories=no,menubar='+menu_video+',location=no,status=no,left='+wX_location+',top='+wY_location+',width=' + video_width + ',height=' + video_height + '');");
}
else 
if (video_viewer == "yes") {
eval("page" + id + " = window.open(URL);");
}
}

//  End -->
