var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035290&x=4744',
		'title': '',
		'imageId': '70035290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035291&x=4744',
		'title': '',
		'imageId': '70035291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035294&x=4744',
		'title': '',
		'imageId': '70035294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035295&x=4744',
		'title': '',
		'imageId': '70035295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035296&x=4744',
		'title': '',
		'imageId': '70035296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035293&x=4744',
		'title': '',
		'imageId': '70035293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035305&x=4744',
		'title': '',
		'imageId': '70035305',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035306&x=4744',
		'title': '',
		'imageId': '70035306',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035292&x=4744',
		'title': '',
		'imageId': '70035292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035297&x=4744',
		'title': '',
		'imageId': '70035297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035298&x=4744',
		'title': '',
		'imageId': '70035298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035299&x=4744',
		'title': '',
		'imageId': '70035299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035300&x=4744',
		'title': '',
		'imageId': '70035300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035301&x=4744',
		'title': '',
		'imageId': '70035301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035302&x=4744',
		'title': '',
		'imageId': '70035302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035303&x=4744',
		'title': '',
		'imageId': '70035303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035304&x=4744',
		'title': '',
		'imageId': '70035304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013303&docid=70035307&x=4744',
		'title': '',
		'imageId': '70035307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013303';

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