var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093625&x=2049',
		'title': '',
		'imageId': '70093625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093624&x=2049',
		'title': '',
		'imageId': '70093624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093628&x=2049',
		'title': '',
		'imageId': '70093628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093629&x=2049',
		'title': '',
		'imageId': '70093629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093627&x=2049',
		'title': '',
		'imageId': '70093627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093630&x=2049',
		'title': '',
		'imageId': '70093630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093631&x=2049',
		'title': '',
		'imageId': '70093631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093626&x=2049',
		'title': '',
		'imageId': '70093626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093632&x=2049',
		'title': '',
		'imageId': '70093632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015388&docid=70093633&x=2049',
		'title': '',
		'imageId': '70093633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015388';

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