var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317252&x=4116',
		'title': '',
		'imageId': '61317252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317253&x=4116',
		'title': '',
		'imageId': '61317253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317254&x=4116',
		'title': '',
		'imageId': '61317254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317255&x=4116',
		'title': '',
		'imageId': '61317255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317256&x=4116',
		'title': '',
		'imageId': '61317256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317257&x=4116',
		'title': '',
		'imageId': '61317257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317258&x=4116',
		'title': '',
		'imageId': '61317258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317259&x=4116',
		'title': '',
		'imageId': '61317259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317260&x=4116',
		'title': '',
		'imageId': '61317260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317261&x=4116',
		'title': '',
		'imageId': '61317261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317262&x=4116',
		'title': '',
		'imageId': '61317262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317263&x=4116',
		'title': '',
		'imageId': '61317263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317264&x=4116',
		'title': '',
		'imageId': '61317264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317265&x=4116',
		'title': '',
		'imageId': '61317265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317266&x=4116',
		'title': '',
		'imageId': '61317266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317267&x=4116',
		'title': '',
		'imageId': '61317267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317268&x=4116',
		'title': '',
		'imageId': '61317268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317269&x=4116',
		'title': '',
		'imageId': '61317269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317270&x=4116',
		'title': '',
		'imageId': '61317270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317271&x=4116',
		'title': '',
		'imageId': '61317271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317272&x=4116',
		'title': '',
		'imageId': '61317272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317273&x=4116',
		'title': '',
		'imageId': '61317273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317274&x=4116',
		'title': '',
		'imageId': '61317274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317275&x=4116',
		'title': '',
		'imageId': '61317275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317276&x=4116',
		'title': '',
		'imageId': '61317276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317277&x=4116',
		'title': '',
		'imageId': '61317277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317278&x=4116',
		'title': '',
		'imageId': '61317278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317279&x=4116',
		'title': '',
		'imageId': '61317279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317280&x=4116',
		'title': '',
		'imageId': '61317280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987010&docid=61317281&x=4116',
		'title': '',
		'imageId': '61317281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987010';

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