var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460877&x=444',
		'title': '',
		'imageId': '66460877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460876&x=444',
		'title': '',
		'imageId': '66460876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460878&x=444',
		'title': '',
		'imageId': '66460878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460882&x=444',
		'title': '',
		'imageId': '66460882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460881&x=444',
		'title': '',
		'imageId': '66460881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460879&x=444',
		'title': '',
		'imageId': '66460879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460899&x=444',
		'title': '',
		'imageId': '66460899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460880&x=444',
		'title': '',
		'imageId': '66460880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460886&x=444',
		'title': '',
		'imageId': '66460886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460885&x=444',
		'title': '',
		'imageId': '66460885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460884&x=444',
		'title': '',
		'imageId': '66460884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460883&x=444',
		'title': '',
		'imageId': '66460883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460890&x=444',
		'title': '',
		'imageId': '66460890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460889&x=444',
		'title': '',
		'imageId': '66460889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460888&x=444',
		'title': '',
		'imageId': '66460888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460887&x=444',
		'title': '',
		'imageId': '66460887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460894&x=444',
		'title': '',
		'imageId': '66460894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460893&x=444',
		'title': '',
		'imageId': '66460893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460892&x=444',
		'title': '',
		'imageId': '66460892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460891&x=444',
		'title': '',
		'imageId': '66460891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460898&x=444',
		'title': '',
		'imageId': '66460898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460896&x=444',
		'title': '',
		'imageId': '66460896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3862293&docid=66460895&x=444',
		'title': '',
		'imageId': '66460895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3862293';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
