Remove calls to Client_IsValid as this is redundant
Added safety check
Use modulus to loop the g_AdRotation number