var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115277&x=4219',
		'title': '',
		'imageId': '69115277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115279&x=4219',
		'title': '',
		'imageId': '69115279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115278&x=4219',
		'title': '',
		'imageId': '69115278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115280&x=4219',
		'title': '',
		'imageId': '69115280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115276&x=4219',
		'title': '',
		'imageId': '69115276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115275&x=4219',
		'title': '',
		'imageId': '69115275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115282&x=4219',
		'title': '',
		'imageId': '69115282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115281&x=4219',
		'title': '',
		'imageId': '69115281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115284&x=4219',
		'title': '',
		'imageId': '69115284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973392&docid=69115283&x=4219',
		'title': '',
		'imageId': '69115283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973392';

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