var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104270&x=61',
		'title': '',
		'imageId': '70104270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104264&x=61',
		'title': '',
		'imageId': '70104264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104266&x=61',
		'title': '',
		'imageId': '70104266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104280&x=61',
		'title': '',
		'imageId': '70104280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104273&x=61',
		'title': '',
		'imageId': '70104273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104279&x=61',
		'title': '',
		'imageId': '70104279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104278&x=61',
		'title': '',
		'imageId': '70104278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104281&x=61',
		'title': '',
		'imageId': '70104281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104277&x=61',
		'title': '',
		'imageId': '70104277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104269&x=61',
		'title': '',
		'imageId': '70104269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104272&x=61',
		'title': '',
		'imageId': '70104272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104262&x=61',
		'title': '',
		'imageId': '70104262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104276&x=61',
		'title': '',
		'imageId': '70104276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104271&x=61',
		'title': '',
		'imageId': '70104271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104265&x=61',
		'title': '',
		'imageId': '70104265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104282&x=61',
		'title': '',
		'imageId': '70104282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104268&x=61',
		'title': '',
		'imageId': '70104268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104263&x=61',
		'title': '',
		'imageId': '70104263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104267&x=61',
		'title': '',
		'imageId': '70104267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104275&x=61',
		'title': '',
		'imageId': '70104275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=70104274&x=61',
		'title': '',
		'imageId': '70104274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=59270515&x=61',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012336&docid=59270516&x=61',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012336';

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