

/*
Interactive Image slideshow with text description
By Christian Carlessi Salvadó (cocolinks@c.net.gt). Keep this notice intact.
Visit http://www.dynamicdrive.com for script
*/


g_fPlayMode = 0;
g_iimg = -1;
g_imax = 0;
g_ImageTable = new Array();

function ChangeImage(fFwd)
{
if (fFwd)
{
if (++g_iimg==g_imax)
g_iimg=0;
}
else
{
if (g_iimg==0)
g_iimg=g_imax;
g_iimg--;
}
Update();
}

function getobject(obj){
if (document.getElementById)
return document.getElementById(obj)
else if (document.all)
return document.all[obj]
}

function Update(){
//getobject("_Ath_Slide").src = g_ImageTable[g_iimg][0];
getobject("_Ath_Slide").innerHTML = g_ImageTable[g_iimg][0];
getobject("_Ath_FileName").innerHTML = g_ImageTable[g_iimg][1];
getobject("_Ath_Img_X").innerHTML = g_iimg + 1;
getobject("_Ath_Img_N").innerHTML = g_imax;
}


function Play()
{
g_fPlayMode = !g_fPlayMode;
if (g_fPlayMode)
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;
Next();
}
else 
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;

}
}
function OnImgLoad()
{

}
function Prev()
{
ChangeImage(false);
}
function Next()
{
ChangeImage(true);
}


////configure below variables/////////////////////////////

//configure the below images and description to your own. 
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/20070301_smart_landlording_squalor_art.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\" colspan=\"2\" height=\"25\">1. Check references<br /></td></tr><tr><td colspan=\"2\"></td></tr><tr><td><span class=\"interactive\">At the very least, landlords should get independent credit reports and check with previous landlords when screening new tenants. Some also do a criminal background check. Companies such as Houston-based National Association of Independent Landlords can do the job for a reasonable fee.<br><br>Keep in mind that it's best to get references from previous landlords. The current landlord may give a rosy reference just to unload a bad tenant.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/20070301_smart_landlording_rental_art.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\" colspan=\"2\" height=\"25\">2. Buy enough insurance</td></tr><tr><td colspan=\"2\"></td></tr><tr><td><span class=\"interactive\">Too often landlords skimp on insurance <nobr>--</nobr> and they shouldn't. Anyone can become the target of a lawsuit, and landlords are no exception. Also, some property owners require tenants to get renter's insurance. That's because the owner's insurance coverage only repairs and replaces the actual structure and many times the appliances, but not the tenant's belongings.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/20070301_smart_landlording_document_art.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\" colspan=\"2\" height=\"25\">3. Just say 'no' to form leases</td></tr><tr><td colspan=\"2\"></td></tr><tr><td><span class=\"interactive\">You can buy a lease form at an office supply store, and it might work -- until something goes wrong. Each state has different landlord and tenant laws; your lease form should reflect the laws in your state. Generic form leases also don't take into account different types of dwellings. A high-rise luxury condo will have different stipulations than half of a duplex or a single family home.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/20070301_smart_landlording_inspector_art.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\" colspan=\"2\" height=\"25\">4. Heed environmental matters<br /></td></tr><tr><td colspan=\"2\"></td></tr><tr><td><span class=\"interactive\">Landlords cannot subject tenants to an unhealthy environment, so they must be vigilant about lead paint, asbestos, mold and overall indoor air quality. Lead is particularly a concern with properties that were built before 1979. It may be a good idea to have an older property inspected by a licensed lead-testing company to determine if problems exist and how to correct them.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/20070301_smart_landlording_manager_art.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\" colspan=\"2\" height=\"25\">5. Consider hiring a property manager<br /></td></tr><tr><td colspan=\"2\"></td></tr><tr><td><span class=\"interactive\">Landlords can always opt to farm out the drudge work of finding, screening and managing tenants to a property manager. But they'll pay a fee, generally 10 percent of the rental proceeds, less for large, multiple-unit complexes. Hiring help enables the property owner to focus on other, more important entrepreneurial matters such as buying other properties and managing the equity in the property, says one self-described real estate wealth developer.</td></tr></table>");
g_ImageTable[g_imax++] = new Array ("<img src=\"/images_mra/slideshow/20070301_smart_landlording_cash_art.jpg\" width=\"220\" height=\"220\" border=\"0\">", "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"shSubhead\" colspan=\"2\" height=\"25\">6. Demand a hefty security deposit<br /></td></tr><tr><td colspan=\"2\"></td></tr><tr><td><span class=\"interactive\">A landlord can avoid some problems by demanding an adequate security deposit from tenants upfront. It's not uncommon to ask for enough money to cover rent for the first and last months, plus a separate security deposit in the amount of one month's rent. Insist on getting the deposit before the tenant moves in and in certified funds: cashier's check, certified check, money order or cold, hard cash. Be sure to document the property's condition by taking photos and getting an affirmative signature from the tenant.</td></tr></table>");
//extend the above list as desired
g_dwTimeOutSec=1

////End configuration/////////////////////////////

if (document.getElementById||document.all)
window.onload=Play


