	function flip(pimg) {
		try {
			var s = pimg['altsrc'];

			if( typeof(s) == "undefined" || s == null ) {
				s = pimg.getAttribute('altsrc');

				if( typeof(s) == "undefined" || s == null )
					return;

				pimg['altsrc'] = s;
			}

			pimg['altsrc'] = pimg['src'];
			pimg['src'] = s;
		} catch( flipex ) {
			// no alternate image for you!
		}
	}

	function flipoff(pimg) {
		flip(pimg);
	}

