/*==================================================*
$Id: SLIDES2how.js,v 1.16 2003/10/14 12:39:00 pat Exp $
Copyright 2000-2003 Patrick Fitzgerald
http://SLIDES2how.barelyfitz.com/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*==================================================*/
// There are two objects defined in this file:
// "slide" - contains all the information for a single slide
// "SLIDES2how" - consists of multiple slide objects and runs the SLIDES2how
//==================================================
// slide object
//==================================================
function slide(src,link,text, price, target,attr) {
// This is the constructor function for the slide object.
// It is called automatically when you create a new slide object.
// For example:
// s = new slide();
// Image URL
this.src = src;
// Link URL
this.link = link;
// Text to display
this.text = text;
// Price to display
this.price = price;
// Name of the target window ("_blank")
this.target = target;
// Custom duration for the slide, in milliseconds.
// This is an optional parameter.
// this.timeout = 3000
// Attributes for the target window:
// width=n,height=n,resizable=yes or no,scrollbars=yes or no,
// toolbar=yes or no,location=yes or no,directories=yes or no,
// status=yes or no,menubar=yes or no,copyhistory=yes or no
// Example: "width=200,height=300"
this.attr = attr;
// Create an image object for the slide
if (document.images) {
this.image = new Image();
}
// Flag to tell when load() has already been called
this.loaded = false;
//--------------------------------------------------
this.load = function() {
// This method loads the image for the slide
if (!document.images) { return; }
if (!this.loaded) {
this.image.src = this.src;
this.loaded = true;
}
}
//--------------------------------------------------
this.hotlink = function() {
// This method jumps to the slide's link.
// If a window was specified for the slide, then it opens a new window.
var mywindow;
// If this slide does not have a link, do nothing
if (!this.link) return;
// Open the link in a separate window?
if (this.target) {
// If window attributes are specified,
// use them to open the new window
if (this.attr) {
mywindow = window.open(this.link, this.target, this.attr);
} else {
// If window attributes are not specified, do not use them
// (this will copy the attributes from the originating window)
mywindow = window.open(this.link, this.target);
}
// Pop the window to the front
if (mywindow && mywindow.focus) mywindow.focus();
} else {
// Open the link in the current window
location.href = this.link;
}
}
}
//==================================================
// SLIDES2how object
//==================================================
function SLIDES2how( SLIDES2howname ) {
// This is the constructor function for the SLIDES2how object.
// It is called automatically when you create a new object.
// For example:
// ss = new SLIDES2how("ss");
// Name of this object
// (required if you want your SLIDES2how to auto-play)
// For example, "SLIDES21"
this.name = SLIDES2howname;
// When we reach the last slide, should we loop around to start the
// SLIDES2how again?
this.repeat = true;
// Number of images to pre-fetch.
// -1 = preload all images.
// 0 = load each image is it is used.
// n = pre-fetch n images ahead of the current image.
// I recommend preloading all images unless you have large
// images, or a large amount of images.
this.prefetch = 1;
// IMAGE element on your HTML page.
// For example, document.images.SLIDES21IMG
this.image;
// ID of a DIV element on your HTML page that will contain the text.
// For example, "SLIDES22text"
// Note: after you set this variable, you should call
// the update() method to update the SLIDES2how display.
this.textid;
// ID of a DIV element on your HTML page that will contain the price.
// For example, "SLIDES22price"
// Note: after you set this variable, you should call
// the update() method to update the SLIDES2how display.
this.priceid;
// TEXTAREA element on your HTML page.
// For example, document.SLIDES21FORM.SLIDES21TEXT
// This is a depracated method for displaying the text,
// but you might want to supply it for older browsers.
this.textarea;
// Milliseconds to pause between SLIDES2.
// Individual SLIDES2 can override this.
this.timeout = 5000;
// Hook functions to be called before and after updating the slide
// this.pre_update_hook = function() { }
// this.post_update_hook = function() { }
// These are private variables
this.SLIDES2 = new Array();
this.current = 0;
this.timeoutid = 0;
//--------------------------------------------------
// Public methods
//--------------------------------------------------
this.add_slide = function(slide) {
// Add a slide to the SLIDES2how.
// For example:
// SLIDES21.add_slide(new slide("s1.jpg", "link.html"))
var i = this.SLIDES2.length;
// Prefetch the slide image if necessary
if (this.prefetch == -1) {
slide.load();
}
this.SLIDES2[i] = slide;
}
//--------------------------------------------------
this.play = function(timeout) {
// This method implements the automatically running SLIDES2how.
// If you specify the "timeout" argument, then a new default
// timeout will be set for the SLIDES2how.
// Make sure we're not already playing
this.pause();
// If the timeout argument was specified (optional)
// then make it the new default
if (timeout) {
this.timeout = timeout;
}
// If the current slide has a custom timeout, use it;
// otherwise use the default timeout
if (typeof this.SLIDES2[ this.current ].timeout != 'undefined') {
timeout = this.SLIDES2[ this.current ].timeout;
} else {
timeout = this.timeout;
}
// After the timeout, call this.loop()
this.timeoutid = setTimeout( this.name + ".loop()", timeout);
}
//--------------------------------------------------
this.pause = function() {
// This method stops the SLIDES2how if it is automatically running.
if (this.timeoutid != 0) {
clearTimeout(this.timeoutid);
this.timeoutid = 0;
}
}
//--------------------------------------------------
this.update = function() {
// This method updates the SLIDES2how image on the page
// Make sure the SLIDES2how has been initialized correctly
if (! this.valid_image()) { return; }
// Call the pre-update hook function if one was specified
if (typeof this.pre_update_hook == 'function') {
this.pre_update_hook();
}
// Convenience variable for the current slide
var slide = this.SLIDES2[ this.current ];
// Determine if the browser supports filters
var dofilter = false;
if (this.image &&
typeof this.image.filters != 'undefined' &&
typeof this.image.filters[0] != 'undefined') {
dofilter = true;
}
// Load the slide image if necessary
slide.load();
// Apply the filters for the image transition
if (dofilter) {
// If the user has specified a custom filter for this slide,
// then set it now
if (slide.filter &&
this.image.style &&
this.image.style.filter) {
this.image.style.filter = slide.filter;
}
this.image.filters[0].Apply();
}
// Update the image.
this.image.src = slide.image.src;
// Play the image transition filters
if (dofilter) {
this.image.filters[0].Play();
}
// Update the text
this.display_text();
// Update the price
this.display_price();
// Call the post-update hook function if one was specified
if (typeof this.post_update_hook == 'function') {
this.post_update_hook();
}
// Do we need to pre-fetch images?
if (this.prefetch > 0) {
var next, prev, count;
// Pre-fetch the next slide image(s)
next = this.current;
prev = this.current;
count = 0;
do {
// Get the next and previous slide number
// Loop past the ends of the SLIDES2how if necessary
if (++next >= this.SLIDES2.length) next = 0;
if (--prev < 0) prev = this.SLIDES2.length - 1;
// Preload the slide image
this.SLIDES2[next].load();
this.SLIDES2[prev].load();
// Keep going until we have fetched
// the designated number of SLIDES2
} while (++count < this.prefetch);
}
}
//--------------------------------------------------
this.goto_slide = function(n) {
// This method jumpts to the slide number you specify.
// If you use slide number -1, then it jumps to the last slide.
// You can use this to make links that go to a specific slide,
// or to go to the beginning or end of the SLIDES2how.
// Examples:
// onClick="mySLIDES2.goto_slide(0)"
// onClick="mySLIDES2.goto_slide(-1)"
// onClick="mySLIDES2.goto_slide(5)"
if (n == -1) {
n = this.SLIDES2.length - 1;
}
if (n < this.SLIDES2.length && n >= 0) {
this.current = n;
}
this.update();
}
//--------------------------------------------------
this.goto_random_slide = function(include_current) {
// Picks a random slide (other than the current slide) and
// displays it.
// If the include_current parameter is true,
// then
// See also: shuffle()
var i;
// Make sure there is more than one slide
if (this.SLIDES2.length > 1) {
// Generate a random slide number,
// but make sure it is not the current slide
do {
i = Math.floor(Math.random()*this.SLIDES2.length);
} while (i == this.current);
// Display the slide
this.goto_slide(i);
}
}
//--------------------------------------------------
this.next = function() {
// This method advances to the next slide.
// Increment the image number
if (this.current < this.SLIDES2.length - 1) {
this.current++;
} else if (this.repeat) {
this.current = 0;
}
this.update();
}
//--------------------------------------------------
this.previous = function() {
// This method goes to the previous slide.
// Decrement the image number
if (this.current > 0) {
this.current--;
} else if (this.repeat) {
this.current = this.SLIDES2.length - 1;
}
this.update();
}
//--------------------------------------------------
this.shuffle = function() {
// This method randomly shuffles the order of the SLIDES2.
var i, i2, SLIDES2_copy, SLIDES2_randomized;
// Create a copy of the array containing the SLIDES2
// in sequential order
SLIDES2_copy = new Array();
for (i = 0; i < this.SLIDES2.length; i++) {
SLIDES2_copy[i] = this.SLIDES2[i];
}
// Create a new array to contain the SLIDES2 in random order
SLIDES2_randomized = new Array();
// To populate the new array of SLIDES2 in random order,
// loop through the existing SLIDES2, picking a random
// slide, removing it from the ordered list and adding it to
// the random list.
do {
// Pick a random slide from those that remain
i = Math.floor(Math.random()*SLIDES2_copy.length);
// Add the slide to the end of the randomized array
SLIDES2_randomized[ SLIDES2_randomized.length ] =
SLIDES2_copy[i];
// Remove the slide from the sequential array,
// so it cannot be chosen again
for (i2 = i + 1; i2 < SLIDES2_copy.length; i2++) {
SLIDES2_copy[i2 - 1] = SLIDES2_copy[i2];
}
SLIDES2_copy.length--;
// Keep going until we have removed all the SLIDES2
} while (SLIDES2_copy.length);
// Now set the SLIDES2 to the randomized array
this.SLIDES2 = SLIDES2_randomized;
}
//--------------------------------------------------
this.get_text = function() {
// This method returns the text of the current slide
return(this.SLIDES2[ this.current ].text);
}
//--------------------------------------------------
this.get_price = function() {
// This method returns the price of the current slide
return(this.SLIDES2[ this.current ].price);
}
//--------------------------------------------------
this.get_all_text = function(before_slide, after_slide) {
// Return the text for all of the SLIDES2.
// For the text of each slide, add "before_slide" in front of the
// text, and "after_slide" after the text.
// For example:
// document.write("
");
// document.write(s.get_all_text("- ","\n"));
// document.write("<\/ul>");
all_text = "";
// Loop through all the SLIDES2 in the SLIDES2how
for (i=0; i < this.SLIDES2.length; i++) {
slide = this.SLIDES2[i];
if (slide.text) {
all_text += before_slide + slide.text + after_slide;
}
}
return(all_text);
}
//--------------------------------------------------
this.display_text = function(text) {
// Display the text for the current slide
// If the "text" arg was not supplied (usually it isn't),
// get the text from the SLIDES2how
if (!text) {
text = this.SLIDES2[ this.current ].text;
}
// If a textarea has been specified,
// then change the text displayed in it
if (this.textarea && typeof this.textarea.value != 'undefined') {
this.textarea.value = text;
}
// If a text id has been specified,
// then change the contents of the HTML element
if (this.textid) {
r = this.getElementById(this.textid);
if (!r) { return false; }
if (typeof r.innerHTML == 'undefined') { return false; }
// Update the text
r.innerHTML = text;
}
}
//--------------------------------------------------
this.display_price = function(text) {
// Display the price for the current slide
// If the "text" arg was not supplied (usually it isn't),
// get the text from the SLIDES2how
if (!text) {
text = this.SLIDES2[ this.current ].price;
}
// If a textarea has been specified,
// then change the text displayed in it
if (this.textarea && typeof this.textarea.value != 'undefined') {
this.textarea.value = text;
}
// If a text id has been specified,
// then change the contents of the HTML element
if (this.priceid) {
r = this.getElementById(this.priceid);
if (!r) { return false; }
if (typeof r.innerHTML == 'undefined') { return false; }
// Update the text
r.innerHTML = text;
}
}
//--------------------------------------------------
this.hotlink = function() {
// This method calls the hotlink() method for the current slide.
this.SLIDES2[ this.current ].hotlink();
}
//--------------------------------------------------
this.save_position = function(cookiename) {
// Saves the position of the SLIDES2how in a cookie,
// so when you return to this page, the position in the SLIDES2how
// won't be lost.
if (!cookiename) {
cookiename = this.name + '_SLIDES2how';
}
document.cookie = cookiename + '=' + this.current;
}
//--------------------------------------------------
this.restore_position = function(cookiename) {
// If you previously called SLIDES2how_save_position(),
// returns the SLIDES2how to the previous state.
//Get cookie code by Shelley Powers
if (!cookiename) {
cookiename = this.name + '_SLIDES2how';
}
var search = cookiename + "=";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search);
// if cookie exists
if (offset != -1) {
offset += search.length;
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1) end = document.cookie.length;
this.current = parseInt(unescape(document.cookie.substring(offset, end)));
}
}
}
//--------------------------------------------------
this.noscript = function() {
// This method is not for use as part of your SLIDES2how,
// but you can call it to get a plain HTML version of the SLIDES2how
// images and text.
// You should copy the HTML and put it within a NOSCRIPT element, to
// give non-javascript browsers access to your SLIDES2how information.
// This also ensures that your SLIDES2how text and images are indexed
// by search engines.
$html = "\n";
// Loop through all the SLIDES2 in the SLIDES2how
for (i=0; i < this.SLIDES2.length; i++) {
slide = this.SLIDES2[i];
$html += '
';
if (slide.link) {
$html += '';
}
$html += '
';
if (slide.link) {
$html += "<\/a>";
}
if (slide.text) {
$html += "
\n" + slide.text;
}
if (slide.price) {
$html += "
\n" + slide.price;
}
$html += "<\/P>" + "\n\n";
}
// Make the HTML browser-safe
$html = $html.replace(/\&/g, "&" );
$html = $html.replace(//g, ">" );
return('' + $html + '
');
}
//==================================================
// Private methods
//==================================================
//--------------------------------------------------
this.loop = function() {
// This method is for internal use only.
// This method gets called automatically by a JavaScript timeout.
// It advances to the next slide, then sets the next timeout.
// If the next slide image has not completed loading yet,
// then do not advance to the next slide yet.
// Make sure the next slide image has finished loading
if (this.current < this.SLIDES2.length - 1) {
next_slide = this.SLIDES2[this.current + 1];
if (next_slide.image.complete == null || next_slide.image.complete) {
this.next();
}
} else { // we're at the last slide
this.next();
}
// Keep playing the SLIDES2how
this.play( );
}
//--------------------------------------------------
this.valid_image = function() {
// Returns 1 if a valid image has been set for the SLIDES2how
if (!this.image)
{
return false;
}
else {
return true;
}
}
//--------------------------------------------------
this.getElementById = function(element_id) {
// This method returns the element corresponding to the id
if (document.getElementById) {
return document.getElementById(element_id);
}
else if (document.all) {
return document.all[element_id];
}
else if (document.layers) {
return document.layers[element_id];
} else {
return undefined;
}
}
//==================================================
// Deprecated methods
// I don't recommend the use of the following methods,
// but they are included for backward compatibility.
// You can delete them if you don't need them.
//==================================================
//--------------------------------------------------
this.set_image = function(imageobject) {
// This method is deprecated; you should use
// the following code instead:
// s.image = document.images.myimagename;
// s.update();
if (!document.images)
return;
this.image = imageobject;
}
//--------------------------------------------------
this.set_textarea = function(textareaobject) {
// This method is deprecated; you should use
// the following code instead:
// s.textarea = document.form.textareaname;
// s.update();
this.textarea = textareaobject;
this.display_text();
}
//--------------------------------------------------
this.set_textid = function(textidstr) {
// This method is deprecated; you should use
// the following code instead:
// s.textid = "mytextid";
// s.update();
this.textid = textidstr;
this.display_text();
}
//--------------------------------------------------
this.set_priceid = function(priceidstr) {
// This method is deprecated; you should use
// the following code instead:
// s.textid = "mytextid";
// s.update();
this.priceid = priceidstr;
this.display_price();
}
}
SLIDES2 = new SLIDES2how("SLIDES2");
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2012/01/Merchant-Ypt-Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1661";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/10/Sea157-Front1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1660";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/10/Salt-Works-54-56-Sept-2011-Front1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1659";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/07/Baldwin-1-Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1656";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/07/Stephen-Phillips-Front4.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1655";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/202-Sycamore_11_front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1652";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/198-ChristopherHall42 Frnt.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1651";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2012/01/Center220YPT-Jan2012-FRONT1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1650";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/09/ThorwaldSept2011-Front1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1648";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/186-Old Hills Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1647";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/181-Beaten37Front1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1644";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/177-Paul32Front1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1642";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/226-RiverWDE Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1640";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/160-Harbor17EDE FrontYard.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1639";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/224-Mariner 58 Front New.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1638";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/139-JasmineFrnt1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1637";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/09/South-115-Front-New.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1633";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/155-Old_bass_front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1631";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/10/Kings-Row-Sept-2011-Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1629";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/89-Clearview28 Front1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1625";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/86-SignalHillFront.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1624";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/55-Highcrest18Frnt.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1622";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/70-Bleak House Sign.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1617";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/68-FoxRnFrnt.jpg.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1616";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/27-Highland9 2009 Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1614";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/67-80 Oak Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1611";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2012/01/Pleasant-33-Sept-2011-Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1609";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/28-Sea57Frnt.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1607";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/24-Shiverick58Front08.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1606";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/50-Bayview4Frnt1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1604";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/37-ScarsdaleFrnt.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1602";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/09/Paul14-2011-Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1601";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/21-Windmill 2009 Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1600";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/39-BayberryFrnt07.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1598";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/34-CobbsFrnt.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1597";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/26-BayView Diddell Frnt.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1594";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/23-Harbor61 Front 2010.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1592";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/22-PleasantEDE Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1591";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/10/Salt-Works-54-56-Sept-2011-Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1589";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/20-SaltWk44 Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1588";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/10/Salt-Works-38-Sept-2011-Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1587";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/220-Fairway30 001.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1585";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/71-PompanoFrnt.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1584";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/69-DaltonFrntBest.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1583";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/213-Blackfoot15 Front.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1582";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/photos-db/Photos/59-ClearviewFrnt1.jpg.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1581";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
s = new slide();
s.src = "http://www.steelerealty.com/wp-content/uploads/2011/10/Salt-Works-30-Sept-2011-Front1.jpg";
s.link = "http://www.steelerealty.com/wp-content/plugins/steele/detail.php?id=1580";
s.text = "";
SLIDES2.add_slide(s);
//s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i' +
' ' +
' ' +
' ' +
' ' +
' | ' +
' ' +
' ' +
' | ' +
' ' +
' ' +
' | ' +
' | ' +
'
' +
'';
$('ihf_featured_slide_show_div').update(txt);
SLIDES2.goto_slide(0);
if (document.images)
{
SLIDES2.set_image(document.images.SLIDES2IMG2);
SLIDES2.set_textid("SLIDES2TEXT2"); // optional
SLIDES2.set_priceid("SLIDES2PRICE2");
SLIDES2.update();
SLIDES2.play(); //optional
}
}
}
catch(e)
{
}
});
// Event Handling for Browser-dependant events (IE versus the world!)
Event.observe(window, 'load', function()
{
try
{
if ( Prototype.Browser.IE )
{
//alert('Are we here IE?');
var txt = '' +
' ' +
' ' +
' ' +
' ' +
' ' +
' | ' +
' ' +
' ' +
' | ' +
'
' +
' ' +
' | ' +
' | ' +
'
' +
'
';
$('ihf_featured_slide_show_div').update(txt);
SLIDES2.goto_slide(0);
if (document.images)
{
SLIDES2.set_image(document.images.SLIDES2IMG2);
SLIDES2.set_textid("SLIDES2TEXT2"); // optional
SLIDES2.set_priceid("SLIDES2PRICE2");
SLIDES2.update();
SLIDES2.play(); //optional
}
}
}
catch(e)
{
}
});
}
catch(e)
{
// Display listings using legacy 6.0 code
document.write('');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' ');
document.write(' | ');
document.write(' ');
document.write(' ');
document.write(' | ');
document.write('
');
document.write(' ');
document.write(' | ');
document.write(' | ');
document.write('
');
document.write('
');
SLIDES2.goto_slide(0)
if (document.images)
{
SLIDES2.set_image(document.images.SLIDES2IMG2);
SLIDES2.set_textid("SLIDES2TEXT2"); // optional
SLIDES2.set_priceid("SLIDES2PRICE2");
SLIDES2.update();
SLIDES2.play(); //optional
}
}