var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460375&x=1347',
		'title': '',
		'imageId': '67460375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460376&x=1347',
		'title': '',
		'imageId': '67460376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460377&x=1347',
		'title': '',
		'imageId': '67460377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460378&x=1347',
		'title': '',
		'imageId': '67460378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460379&x=1347',
		'title': '',
		'imageId': '67460379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460380&x=1347',
		'title': '',
		'imageId': '67460380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460381&x=1347',
		'title': '',
		'imageId': '67460381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460382&x=1347',
		'title': '',
		'imageId': '67460382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460383&x=1347',
		'title': '',
		'imageId': '67460383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460384&x=1347',
		'title': '',
		'imageId': '67460384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460385&x=1347',
		'title': '',
		'imageId': '67460385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460386&x=1347',
		'title': '',
		'imageId': '67460386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460387&x=1347',
		'title': '',
		'imageId': '67460387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460388&x=1347',
		'title': '',
		'imageId': '67460388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460389&x=1347',
		'title': '',
		'imageId': '67460389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460390&x=1347',
		'title': '',
		'imageId': '67460390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460391&x=1347',
		'title': '',
		'imageId': '67460391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460392&x=1347',
		'title': '',
		'imageId': '67460392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460393&x=1347',
		'title': '',
		'imageId': '67460393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460394&x=1347',
		'title': '',
		'imageId': '67460394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460395&x=1347',
		'title': '',
		'imageId': '67460395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967850&docid=67460396&x=1347',
		'title': '',
		'imageId': '67460396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967850';

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