to see id of iframe element containing this document
to increment global variable in containing document (uses parent keyword to gain access).