// pushfitness.js - copyright(c) 2007 adam@adamscottsoftware.com
// v0.1 - 2007 09 04 2345 asf

function fixImageOrientation()
{
    var images = document.getElementsByName( 'orient' ) ;
    var theimage ;

    for ( var i = 0; i < images.length ; i ++ )
    {
        theimage = images[ i ] ;
        if ( theimage.width > theimage.height ) // landscape image
            theimage.src = theimage.src.replace( "push_eq_l", "push_eq_m" ) ;
     }
}

 /*   var str ;
    var foo = images[ 6 ] ;
    for(prop in foo)
        str+=prop + " value :"+ foo[prop]+"\n";//Concate prop and its value from object
    alert(str);*/
