var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773748&x=211',
		'title': '',
		'imageId': '67773748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773749&x=211',
		'title': '',
		'imageId': '67773749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773750&x=211',
		'title': '',
		'imageId': '67773750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773751&x=211',
		'title': '',
		'imageId': '67773751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773752&x=211',
		'title': '',
		'imageId': '67773752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773753&x=211',
		'title': '',
		'imageId': '67773753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773754&x=211',
		'title': '',
		'imageId': '67773754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773755&x=211',
		'title': '',
		'imageId': '67773755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773747&x=211',
		'title': '',
		'imageId': '67773747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915221&docid=67773756&x=211',
		'title': '',
		'imageId': '67773756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915221';

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