var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126277&x=3832',
		'title': '',
		'imageId': '70126277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126260&x=3832',
		'title': '',
		'imageId': '70126260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126271&x=3832',
		'title': '',
		'imageId': '70126271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126280&x=3832',
		'title': '',
		'imageId': '70126280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126262&x=3832',
		'title': '',
		'imageId': '70126262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126281&x=3832',
		'title': '',
		'imageId': '70126281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126278&x=3832',
		'title': '',
		'imageId': '70126278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126265&x=3832',
		'title': '',
		'imageId': '70126265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126270&x=3832',
		'title': '',
		'imageId': '70126270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126264&x=3832',
		'title': '',
		'imageId': '70126264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126276&x=3832',
		'title': '',
		'imageId': '70126276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126267&x=3832',
		'title': '',
		'imageId': '70126267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126275&x=3832',
		'title': '',
		'imageId': '70126275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126263&x=3832',
		'title': '',
		'imageId': '70126263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126266&x=3832',
		'title': '',
		'imageId': '70126266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126261&x=3832',
		'title': '',
		'imageId': '70126261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126268&x=3832',
		'title': '',
		'imageId': '70126268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126269&x=3832',
		'title': '',
		'imageId': '70126269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126279&x=3832',
		'title': '',
		'imageId': '70126279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126273&x=3832',
		'title': '',
		'imageId': '70126273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126274&x=3832',
		'title': '',
		'imageId': '70126274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=70126272&x=3832',
		'title': '',
		'imageId': '70126272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=59270515&x=3832',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013695&docid=59270516&x=3832',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013695';

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