Actually I dont know codes so I didn't catch any mistake... Can you send me the new code after implementing the correction... I dont know if the above code effect to my site performance...

thanks...