var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703527&x=1649',
		'title': '',
		'imageId': '67703527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703529&x=1649',
		'title': '',
		'imageId': '67703529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703531&x=1649',
		'title': '',
		'imageId': '67703531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703532&x=1649',
		'title': '',
		'imageId': '67703532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703533&x=1649',
		'title': '',
		'imageId': '67703533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703514&x=1649',
		'title': '',
		'imageId': '67703514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703536&x=1649',
		'title': '',
		'imageId': '67703536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703515&x=1649',
		'title': '',
		'imageId': '67703515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703516&x=1649',
		'title': '',
		'imageId': '67703516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703517&x=1649',
		'title': '',
		'imageId': '67703517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703519&x=1649',
		'title': '',
		'imageId': '67703519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703520&x=1649',
		'title': '',
		'imageId': '67703520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703518&x=1649',
		'title': '',
		'imageId': '67703518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703521&x=1649',
		'title': '',
		'imageId': '67703521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703523&x=1649',
		'title': '',
		'imageId': '67703523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703524&x=1649',
		'title': '',
		'imageId': '67703524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703522&x=1649',
		'title': '',
		'imageId': '67703522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703525&x=1649',
		'title': '',
		'imageId': '67703525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703530&x=1649',
		'title': '',
		'imageId': '67703530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912869&docid=67703526&x=1649',
		'title': '',
		'imageId': '67703526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912869';

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