change of external crystal to internal

Thankyou all for ur replies

Actually i want to use the multiplexed pins ( 9 & 10 of Atmega8)
as general purpose ports ( PB6 & PB7), instead of using external crystal there. Thatwhy i thought ofconfiguring internal RC ocsillator , so as to make that two pins free.

Plz reply me any options there to make my 9th and 10th pin free from using as external crystal

Thankyou all