var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508305&x=1631',
		'title': '',
		'imageId': '68508305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508308&x=1631',
		'title': '',
		'imageId': '68508308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508299&x=1631',
		'title': '',
		'imageId': '68508299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508297&x=1631',
		'title': '',
		'imageId': '68508297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508303&x=1631',
		'title': '',
		'imageId': '68508303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508304&x=1631',
		'title': '',
		'imageId': '68508304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508293&x=1631',
		'title': '',
		'imageId': '68508293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508307&x=1631',
		'title': '',
		'imageId': '68508307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508290&x=1631',
		'title': '',
		'imageId': '68508290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508296&x=1631',
		'title': '',
		'imageId': '68508296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508301&x=1631',
		'title': '',
		'imageId': '68508301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508300&x=1631',
		'title': '',
		'imageId': '68508300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508298&x=1631',
		'title': '',
		'imageId': '68508298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508302&x=1631',
		'title': '',
		'imageId': '68508302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508291&x=1631',
		'title': '',
		'imageId': '68508291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508313&x=1631',
		'title': '',
		'imageId': '68508313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508295&x=1631',
		'title': '',
		'imageId': '68508295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508310&x=1631',
		'title': '',
		'imageId': '68508310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508294&x=1631',
		'title': '',
		'imageId': '68508294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508311&x=1631',
		'title': '',
		'imageId': '68508311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508292&x=1631',
		'title': '',
		'imageId': '68508292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508306&x=1631',
		'title': '',
		'imageId': '68508306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508309&x=1631',
		'title': '',
		'imageId': '68508309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947000&docid=68508312&x=1631',
		'title': '',
		'imageId': '68508312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947000';

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";
	})
}
